mkd****com
Hi, All
I try to understand well > how i can debug my application in GR5515.
And have next questions :
TOOL
GR5xxx_console.exe 1.2.41
What mean "load" ? where does GP write my .bin with this command? What address? What differnce with programm?
Can I find a complete description of the firmware load and SOC process during system start?
I have next problem
GR5xxx_console.exe generate ".pio/build/genericGR5515IGND/firmware.bin" ".pio/build/genericGR5515IGND/firmware_image.bin" 0x01002000 1024 0
generate success.
GR5xxx_console.exe program .pio/build/genericGR5515IGND/firmware_image.bin y 0x01000000 1024 0 15IGND/firmware_image.bin" 0x01002000 1024 0
8460 command.cpp:1682] Address conflict with firmware. start:1002000 end:1027b10
program failed.
Could i use simple Segger tools for load firmware ?
zhongchengzhi
Hi,
1. `load` is similar with as `programm` command, my .bin will be downloaded to the APP_CODE_LOAD_ADDR(This configuration is in custom_config.h).
2. `load` command has the parameter `<erase type`, you can erase the whole chip Flash, `programm` just erase the FW related Flash area.
3. `generate` `flash start address` parameter is `0x01000000` for GR551x
mkd****com
Hi
Could you help me with understanding true script ?
For now I do next:
1) build my project ( for app start address 0x01002000) and obtaine .bin file
2) erase 0x01000000 0x01002000 y 0x01000000 1024 0 - erase boot_config page
3) program ./build/firmware.bin y 0x01000000 1024 0 - write application.
is it true way?
zhongchengzhi
Yes, it works.
Open WeChat, use "Scan" to follow.