CN / EN
CN / EN

Ask a New Question

Get Supports

If you need one-on-one support for confidential technical issues with your project, please click on "Contact Us" below.

Gprogrammer consol and SOC execution GR551x

mkd****com

2024-01-26 17:09

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 ?





0 Favorites

0 Likes

3 Answers

zhongchengzhi

Goodix Employee
2024-01-30 10:28

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

0 Comments

0 Likes

0 Favorites

Your comment

mkd****com

2024-01-30 20:06

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?

0 Comments

0 Likes

0 Favorites

Your comment

zhongchengzhi

Goodix Employee
2024-02-02 22:00

Yes, it works.

2 Comments

0 Likes

0 Favorites

Your comment

You can answer questions after logging in, please or register

Your Voice Matters
Contact Sales

Scan to follow

Open WeChat, use "Scan" to follow.