The following code is the classic example hello world present inside the folder EXAMPLE.
Now, with compiling and CW10.2 MQX3.8 works, but compiling with MQX CW10.2 and 3.81 does not work.
I explained it off???
Following the example of what I did:
void hello_task
(
uint_32 initial_data
)
{
uint_32 i=0;
while(1)
{
i++;
*((unsigned char*)BSP_EXTERNAL_MRAM_RAM_BASE) = 0xAA; //write
_time_delay(20);
if (i==0xFFFFFFFF) break;
}
printf("Hello World\n");
_task_block();
}
Maurizio Felicioni
Hello microfelis,
Which MCU/Tower are you using and what is the target which has failed? Without these information, I can't proceed.
Regards,
MartinK
Sorry
TWRK70.
Maurizio
Microfelix,
I asked for target (RAM, FLASH DDRAM or SDRAM) ?? What does not work specifically, your code compiled without any error. Is there any run time fault or unhandled interrupt?
Regards,
MartinK
My firmware runs in DDR. But, the problem is that I can not write to CS0.
I use the CS0 for the management of external devices. On the previous version of MQX (3.8) everything works, now with version 3.81 does not work anymore.
Have you added new setting?
Maurizio
Hello Microfelix,
Do you enable peripheral clock for the module? IF you have both version installed , you can check the differences what has changed. I am not able to tell you everything what has changed in the code :smileyhappy:
What does happen when you write to the CS0? Is interrupt invoked? I assume CS0 means CS0 register in NFC.
Regards,
MartinK
Dear Freescale
I try to find the problem and let you know
Maurizio
is it possible that an upgrade of no longer possible to use flexbus????????????
Hello,
rose more than two weeks now and still can not understand why you can not sull'MQX 3.81 more to use the address 0x600000 flexbus CS0.
I also sent an SR but still nothing ...
It 'possible that nessno have encountered this problem??
Maurizio