Gone with JSON, in with Wt::Dbo

Up till now, I’ve spent months of quality time with Wt and gotten quite familiar with it. It has taken care a lot of dirty things for me in the background and at the same time, taught me a lot more about programming in C++. Compromises The application I’m working on is far from being stable and optimized. There are compromises which was necessary in the mean time. For example, the Facebook oauth authentication which I will probably fix when Read more…

Automate Bitstream: Part 2

The task continues with more challenges, where I start to monitor the synthesis flow that had been set previously, starting from the generation of the HDL file to the generation of the bitstream. Apparently, I found that most of the process are messed up, where the synthesis actually takes place before the generation of the HDL file. The data2mem process is executed even before the update of the ELF file. Many of these minor problems accumulated, and is actually a big Read more…

Last Few Steps to Complete a PCB board

This week I finish up my schematic for a new board. This new board is similar to the previous PCB board that I design, only that this board uses Spartan6 TQFP packaging.  Most of the component will remain only some minor changes on the capacitor decoupling. To know the required/necessary capacitor for the Spartan6 chip, follow this link in page14 (Spartan-6 FPGA PCB Design and Pin Planning Guide). I also learn how to insert picture (.png) onto the board. The Read more…

Extending Wt::Auth

Working on Wt::Auth and Wt::Dbo library for the past few weeks have given me another glimpse into a few of the many functionalities built into Wt. This time it wasn’t as simple as just using the member functions that were provided. The problem with using a library in general is that it won’t fulfill all your requirements. In Wt::Auth::AuthWidget specifically, there is a default login view model which some people would not prefer. So, what’s left to do is to Read more…

Automate Bitstream : Part 1

The Xilinx Synthesis and Implementation As I start to work on the synthesis and implementation flow, in order to generate the final bitstream that is being used to be programmed into the FPGA. I found that several links are very useful for studying the flow of synthesis and implementation. Nevertheless, this link also provide further detail on these processes. The implementation process is the one with the UCF file to be incorporated with, where it is a continuation from the Read more…

FPGA and PIC comms

This week started with a mess. I started to confuse about what is my task all about, until my supervisor clarified me about it. Add a SPI module As I mentioned on my previous post, my task is to assign the SPI module into the FPGA, to form the communication bridge between the FPGA and the PIC. There are many ways to achieve this, and I had made many guesses before the implementation. The simplest and easiest way that I had Read more…

Preparing BOM file

This week I finish up my Schematic and preparing the Bill Of Material (BOM) file for my PCB design. I also study some Bluetooth module to be implemented onto my board. The most common bluetooth modules are ‘HC series’ (HC-05 and HC-06), with ’05’ able to be configured as Master or Slave while ’06’ is fixed. After spending some time studying these bluetooth modules, I learnt that there are many unused pins. Generally only 6pins (3.3, GND, TX, RX, KEY, Read more…

Revamping the User Registration & Login

Yay, Oauth feature is working! So previously, I complained that the oauth feature in Wt was not working.  It turns out the error was in the redirection endpoint. However, only GoogleService seems to be successful in identifying the user credentials where FacebookService gave a JSON Exception error.  This is probably caused by the change in the HTTP response of Facebook endpoints. My current objective is to get the GoogleService up and running smoothly, together with the Wt::Dbo. The oauth2 example Read more…

User Session with Wt::Dbo

Hello everyone, I have agreed to work part-time for Dr. Shawn, together with Alex and Peter. My work will include completing the front end of the previous project which I had contributed on during my last internship.   The first task I will try to accomplish is creating a user session, which will handle the transactions between the user and server. Example of transactions would include registering the user and saving/updating the user projects and boards. For the purpose, Wt::Dbo library would be used Read more…

Project Continuation

After idling from Aeste for a month, I am back to Aeste again. The task now is to continue working on the previous intern project. Since I am working remotely, I have to setup my working environment to be exactly the same in the office. I chose to setup a virtual machine for it, for easier setup purpose. The setup of virtual machine does take some time, and surprisingly after all the installations, it could push and pull from the git Read more…