Photo by Tim Gouw on Unsplash

OS needed to run TCPIP stack

Since the only reference I have is an example code of bearSSL that is working in PC environment, in order to sort out the problem I am facing that the bearSSL server does not reply to client hello, I’ll have to look inside the source code of bearSSL. After some study, Read more…

Photo by Jon Moore on Unsplash

Working on BearSSL

In order to apply bearSSL in the project, the first thing I need to do is to include the bearSSL library object. The source code is available as a git repository, simply type “git clone https://www.bearssl.org/git/BearSSL” in a terminal to download the newest version of bearSSL. Apart from this, the Read more…

Photo by Jon Moore on Unsplash

Switch to BearSSL

Continue with last week problem of PUT request failure after implementing SSL, I look through every line of the code again and again and search through every keyword I could think of on the web but did not find much useful information. Without a clue on how to proceed, I asked for Read more…

Photo by Jon Moore on Unsplash

Redo of Flashing and SSL

In my fourth week, after Dr. Shawn saw my code of writing on flash memory which is playing with the pointer, he was like “why did you do that!?”. It was too complicated. Dr. Shawn said “Writing a complicated code is easy, the hardest part is how do you establish the Read more…

Photo by Nicolas Thomas on Unsplash

Writing to Flash and FPGA

As I am collecting the statistic of how the TCP receiver buffer size affects the speed of downloading, I found that the time it takes to download the firmware topped at around 11.6 seconds with 512byte of receiver buffer size, which is in fact very slow, further increase of receiver 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 Read more…