Problem MQX 3.81

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem MQX 3.81

874 Views
Microfelix
Contributor IV

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

0 Kudos
9 Replies

517 Views
c0170
Senior Contributor III

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

0 Kudos

517 Views
Microfelix
Contributor IV

Sorry

 

TWRK70. 

 

Maurizio

0 Kudos

517 Views
c0170
Senior Contributor III

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

0 Kudos

517 Views
Microfelix
Contributor IV

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

0 Kudos

517 Views
c0170
Senior Contributor III

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

0 Kudos

517 Views
Microfelix
Contributor IV

Dear Freescale

 

I try to find the problem and let you know

 

Maurizio

0 Kudos

517 Views
Microfelix
Contributor IV
You can try to run my example 'hello.c' and place the oscilloscope on pin filling with CS0 of TWR70 DDR_debug? With version 3.80 works with 3.81 no.
let me know
Maurizio
0 Kudos

517 Views
Microfelix
Contributor IV

is it possible that an upgrade of no longer possible to use flexbus????????????

0 Kudos

517 Views
Microfelix
Contributor IV

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

0 Kudos