Error while connecting to ARM9
Added by Ahmed Shaaban over 6 years ago
I have a MityARM 1808F and I am facing a strange issue which is as follows:
- when I am trying to connect to ARM stopping the uboot (from booting linux), I receive this error
ARM9_0: GEL: Error while executing OnTargetConnect(): Attempted to read unmapped virtual memory at 0X01C10800and I can't run any example (like : UART ) after loading it.
- but when I am trying to connect to ARM stopping the uboot (from booting linux) ,everything is fine and I can load and run any example.
So,What is the problem when I am trying to connect to ARM without stopping the uboot from booting linux?
Thanks in advance.
RE: Error while connecting to ARM9 - Added by Alexander Block over 6 years ago
The issue of debugging the ARM is that you cannot use CCS JTAG / the emulator when the Linux OS's memory manager is running. When you stop the module from booting, hold it in UBoot, that memory manager has not been initialized yet as the Linux kernel is not running.
If you want to debug an application while Linux is running you need to use GDB server which is outlined in our Wiki here (https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Debugging_ARM_Apps_with_Eclipse).
Thanks for the question.