Hi,
I am writing some code to run on M3 using Syslink and involves interactions with SysBios.
I have few questions,
1) How do we obtain a continuous chunk of physical memory using SysBios.Do we have some API calls for the same?.
Basically i wanted to know how do we do memory mapping in SysBios. Does SysBios provides Physical to Virtual mappings?
2) How can we access peripheral device registers from M3. We basically want to test by modifying some Register bits,then access it and confirm that they have changed. My understanding is that the below code should ideally read a register from M3. Could you please confirm this?
unsigned int val = 1;
unsigned int REG_VER = 0x4A100600;
val = (*(volatile uint32_t *)(REG_VER));
While reading a register value continuously from A8 to verify whether register writes from M3 is getting updated, I get the below error. is this anyway related to some mapping?
Cortex_M3_RTOS: Can't Run Target CPU: (Error -1268 @ 0x1090001) Device is locked up in Hard Fault or in NMI. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.569.0)
3) How can we create a library project that gives me output (.aem3) for M3.We want to then link this library to an application which will give me .xem3 binary.
We are able to create an application project that gives me .xem3 binary using command line (make file). But I also want a library project that gives me .aem3 output and I should be able to build this library project using command line (make files) and not from CCS IDE.
Regards,
Heramb