Hello community!
Just wondering if anyone managed to get debugging working with the V0.4.1 firmware release for the Photon?
There’s some issues with the .elf
generated and maybe someone has more insights into the issue.
A modular build:
Reading symbols from ../firmware-0.4.1/build/target/user-part/platform-6-m/applications/tinker/tinker.elf...done.
0x08002d60 in ?? ()
Loading section .module_info, size 0x18 lma 0x80a0000
Loading section .text, size 0x11e8 lma 0x80a0018
Loading section .data, size 0x68 lma 0x80a1200
Loading section .module_info_suffix, size 0x24 lma 0x80a1268
Loading section .module_info_crc, size 0x4 lma 0x80a128c
Start address 0x80a0018, load size 4752
A non-modular build:
Reading symbols from ../firmware-0.4.1/build/target/main/platform-6/applications/tinker/tinker.elf...done.
0x08002d60 in ?? ()
Loading section .vectors, size 0x184 lma 0x8020000
Loading section .module_info, size 0x18 lma 0x8020184
Loading section .text, size 0x59920 lma 0x80201a0
Loading section .data, size 0x5f4 lma 0x8079ac0
Loading section .module_info_suffix, size 0x24 lma 0x807a0b4
Loading section .module_info_crc, size 0x4 lma 0x807a0d8
There seems to be an additional .vectors
compared to the working modular build.