CORS Mistakes + Firmware Download

I would like to first start off that last week’s problem of not having the automatic redirection working in Firefox was actually my own mistake without even realizing it. Basically, the CORS protocol should only take place for cross site requests, for example if a client application that is being served from www.domainA.com makes a request to www.domainB.com , then it first have to make a preflight request to determine whether or not it is allowed access to domainB’s resources, as well as what Read more…

Fix Things Out

I can say that this week I’m a bit productive probably because I want my baby screens to be completed before this end of the month. I’ve made a checklist what is left for each screen. For emcee screen, there will be two different performance list according to the event state. The event state 0 and 1 which are registration and running, the event state 2 which is closed. Performance list of event 0 and 1 includes the action of Read more…

Photo by Alexandre Debiève on Unsplash

Vuetiful Tales And Adventures Chapter 5 (Sort of)

Well, this week would not be a very vuetiful chapter, as I’m starting to work on the programming of firmware into the board. Just to recap, the procedure of downloading the firmware into the board is done through a sequence of HTTP requests, mainly revolving around DELETE, PUT requests and also OPTION requests as part of the CORS protocol. The server running in the board would use OPTION requests as an indication to enter into programming mode which would process Read more…

Vuetiful Tales And Adventures Chapter 4

Welcome back to all things vuetiful! This week I worked on the registration of the boards. So here’s how it works. As the user powers up the board and connects it to his or her PC through USB, the board would act as a HID-Keyboard that automatically types out an encrypted payload containing all its meta data, such as board serial number, model name, self generated public key, MAC address, IPv4 and IPv6 addresses. To actually capture the simulated key Read more…

I’m Almost There

After one month and a half struggling to complete my beloved project using the vuejs framework, it has finally come to an end. I mean it’s not ended yet but I have completed all the major things for my baby (head judge screen, attendance screen, emcee screen and judging screen).  When I looked at my codes, I feel a bit proud of myself and sad(in a happy way) as well. I still remember myself 3 months ago, a girl who Read more…

Chapter 12: PIC32 Live Update & End of Internship

This is my twelfth week in AESTE, and also my last week here. Last week I manage to download file from localhost by TFTP. This week the task is PIC32 which is to swap the program flash memory after receive a valid new firmware. From the Microchip Datasheet Section 52: Flash Memory,  there are a Bit use to control the program flash — PFSWAP (Program Flash Swap Control Bit). 1 = Program Flash Bank 2 is mapped to the lower Read more…

Photo by Nicolas Thomas on Unsplash

Tik-Tok

Nothing much happened this week since I just making sure that the head judge screen is completed. As I mentioned in my previous post, the action button on the screen includes two functions which are prizes and medal for performance. I think that is the only thing that I am more focus on doing it for this week, the action button. There are five buttons in action button for prizes. Every button has the different function when the user’s clicked on Read more…

Chapter 11: Download by TFTP

This is my eleventh week in AESTE. This week my task is to download a file from the network. There are a lot of protocols can be used to download the file via network. At the end we choose TFTP(Trivial File Transfer Protocol) due to TFTP will transfer maximum 512 bytes data. It will be easier for us to store the data to flash memory (flash memory write by WORD,QWORD, ROW and PAGE). After I had studied the concept of Read more…

Photo by Nicolas Thomas on Unsplash

Vuetiful Tales And Adventures Chapter 3

Here we go again. In the previous chapters, I have mostly done the management of multiple cloud storage services in the application. For this chapter, I worked  on setting up the layout and the displaying of projects on the dashboard interface. You have already seen a small portion of it in the last chapter, where there is a large view showing the snapshot of a project that the user would open for viewing, and the meta data related to the Read more…

HDL 102: Synthesis

The following is the simplified design flow for digital circuits. Design Entry Behavioral Simulation Synthesis Functional Simulation Place and Route Timing Simulation Implementation Synthesis is the process of turning the HDL code into circuitry. A software analogy for this is the compilation process that turns software code into machine binary. It is one part of the overall hardware design flow. Behavioral simulation is mostly concerned with how the hardware is supposed to work. At this stage, there isn’t any circuit Read more…

Photo by Alexandre Debiève on Unsplash