Photo by Nicolas Thomas on Unsplash

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

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

Photo by Nicolas Thomas on Unsplash

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

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

Photo by Alexandre Debiève on Unsplash

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

PoW as Checksum

The purpose of a checksum is to determine whether a message was transmitted error free. There are many ways to determine a checksum and one of the ways to do this is to use a cryptographic hash. A cryptographic hash function has several useful properties to do this: A single bit change in the input produces a radical change in the output hash value. This means that even a small error in the input will result in a completely different Read more

Head Judge Screen

I’m struggling to finish up the head judge screen this week and I’m facing few problems as well. I managed to assemble necessary information such as absolute score, comparative score and each judge’s scores for the screen At first, I’m having a problem to display scores on the screen because I wanted the scores to be displayed in progress circular with color according to gsb function and having tooltip function as well showing scores if the performance is multi-piece performance. Read more

Chapter 10: Update new firmware by USB

This is my tenth week work in AESTE. This week I had successfully to test the Bootloader Live Update work. Although it is update by USB device (my actual project use Ethernet). But that is a good starting point, at least I know how to use the live update demo from Harmony. Next step I have to do are: Upload a file to localhost by TFTP. PIC32MZ get the file from localhost by Ethernet. Using PIC32MZ check the file is Read more

Photo by Nicolas Thomas on Unsplash

Vuetiful Tales And Adventures Chapter 2

Hello again. Welcome to the second chapter of my series of developing the frontend of my current project using Vue.js and Vuetify mainly. This week, I continued working on the storage aspect of the dashboard application. I had already made an interface for storage configuration, now I would just need to display the list of configured storage to the user and also enable them to add and configure more storage services on demand. Apart from that, I also set up Read more

Not Over Yet

Submit Score I had difficulty when I tried to add submit score functionality on the judging screen. I kept getting an error when I tried to submit the score for each performance. The parameters that need to be sent are performance Id, judging Id, absolute, scores and comparative. At first, the system gave me an error because I didn’t put the scores as a parameter.  Secondly, I didn’t put the comparative as the parameter since I’m not doing the comparative part Read more