Кто-нибудь пробывал дебажить сабж с помодью jLink и GDB?
Скачал SDK. Такого треша давно не видел, что столько ошибок было. Кое-как сбилдил, но вот до дебага дело не доходит.
Такое впечатление что скрипты глючные или не те. Вроде образ загружается в память, но далее все.
Скачал SDK. Такого треша давно не видел, что столько ошибок было. Кое-как сбилдил, но вот до дебага дело не доходит.
Такое впечатление что скрипты глючные или не те. Вроде образ загружается в память, но далее все.
Вообще сапорт у них есть, кроме форума, где ответят через неделю или вообще не ответят?ambd_sdk/project/realtek_amebaD_va0_example/GCC-RELEASE/project_lp/asdk/gnu_utility/gnu_script/rtl_gdb_flash_write.txt
GNU gdb (Realtek ASDK-6.4.1 Build 3026) 7.12.50.20170111-git
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
warning: No executable has been specified and target does not support
determining executable automatically. Try using the "file" command.
0x0000533e in ?? ()
Notification of completion for asynchronous execution commands is off.
Resets the core only, not peripherals.
Sleep 20ms
Resets the core only, not peripherals.
Sleep 20ms
Resets the core only, not peripherals.
Sleep 20ms
Load flash loader.
Restoring binary file gnu_utility/gnu_script/flash_loader_ram_1.bin into memory (0x82000 to 0x82910)
$1 = 0x4000201
$2 = 0x4000201
....
wakeup bit(480003f8):4000201
$3 = 0x10017
$4 = 0x10017
....
wakeup bit(480003f8):10017
No source file named rtl_flash_download.c.