Content originally posted in LPCWare by kabirbansod on Mon Jun 15 03:06:51 MST 2015
Well not for lpc1347, there is one guy who was working on it, but he was in the process of building the port, moreover he was using an SD card whereas i don't have one on my board.
Thanks a lot...i think that might be it, can you please tell me where i can learn more about handling such issues. Also what is USB ram, and is there anyway i can see the address mappings?
EDIT: While going through the symbols in image file (using objdump on the image file), i found that the address of protohread that needs to be run is 0x170, so while debugging i changed the address of protothread pointer to 0x170, the thread/function was loaded but again i got a hard fault :( . Is it illegal to do that?
Faults = InvState
Fault PC = 0x00000170
= process_thread_hello_world_process in section .text
= File: hello-world.c Line: 23
Fault status registers:
IPSR = 0x21000003: 3 (HardFault)
CFSR = 00020000 (Configurable Fault Status Register)
HFSR = 40000000 (Hard Fault Status Register)
DFSR = 00000000 (Debug Fault Status Register)
MMAR = e000edf8 [INVALID] (MemManage Fault Address Register)
BFAR = e000edf8 [INVALID] (Bus Fault Address Register)
AFSR = 00000000 (Auxiliary Fault Status Register)
Stacked registers:
R0 = 1000045c
R1 = 00000081
R2 = 00000000
R3 = 00000170
R12 = 000003f1
LR = 000003d7
PC = 00000170
PSR = 20000000
SP = 10001f58