Month: January 2016

Flashing bin file to nucleo-L476RG

This command works!!! /root/Desktop>st-flash –reset write Nucleo_blink_led_NUCLEO_L476RG.bin 0x8000000 2016-01-17T15:53:54 INFO src/stlink-common.c: Loading device parameters…. 2016-01-17T15:53:54 INFO src/stlink-common.c: Device connected is: L4 device, id 0x10076415 2016-01-17T15:53:54 INFO src/stlink-common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 2048 bytes 2016-01-17T15:53:54 INFO src/stlink-common.c: Attempting to write 16544 (0x40a0) bytes to stm32 address:…
Read more

2016/01/17 0

Nucleo STM32F103 dev board with built in STlinkV2-1 programmer   1. GNU ARM Tool Chain 2. IDE Eclipse 3. STmicro libraries 4. GDB Server 1. GNU ARM Tool Chain $ sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded (if using 14.04 follow extras steps when adding PPA) $ sudo apt-get update $ sudo apt-get install gcc-arm-none-eabi if 64bit, we need 32-bit libs $ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 2. Eclipse…
Read more

2016/01/17 0

I use this script to check all projects for outdated maven dependency

I use this script to check all projects for outdated maven dependency read count : 7

2016/01/12 0

My kernel crashed after changed from c to c++

My kernel crashed after changed from c to c++, for this bug, a variable value accidentally changed its value, i was not about to know which code changed it. In previous version of GKD, i can turn on the profiling feature to see which memory address has been accessed, but this is not enough because…
Read more

2016/01/10 1

Buddhism & Coding

I think the starting point to match buddhism and coding is that: prove any logic is combine from more than one logic, so no logic can be independently exist. read count : 10

2016/01/03 1

Running peter-dwarf tutorial

This is the tutorial for running testing program for peter-dwarf, there are two programs inside the jar, first one is a command-line program to test peter-dwarf functions, the second one is a program with GUI. 1) Running the command line program This will print out the function name contain the address 0x1600300 in file “kernel”…
Read more

2016/01/03 0

dwarf is too much for c++

One side effect about changing the kernel from c to c++ is that: in the kernel file, the number of dwarf information will increase dramatically from 1,000 to 1,550,000. This let the peter-dwarf parser work slowing to build a tree to display it (But the dwarf parsing still fast). I added the parameter in PeterDwarfPanel…
Read more

2016/01/02 0