USB Bootloader sample and MQX RTCS Template.

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

USB Bootloader sample and MQX RTCS Template.

3,743 Views
FabioMello
Contributor I
I'm new in MQX and I'm trying to run a simple MQX application  (based on RTCS template) with USB Bootloader sample. I followed the pdf tips about how to change de code, I read the sample codes and I tried a lot of things  but I had no sucess. I think I lost some steps or infomation.

Anyway, I need help to fix this... and any help is welcome , tips, tricks, sample codes, documentations, etc.

Thanks.
0 Kudos
Reply
6 Replies

1,517 Views
DavidS
NXP Employee
NXP Employee

Hi Fabio,

Please download the attached ZIP file and in the root directory are instructions (USB bootloader in MQX Instructions2.pdf). This should work for FSLMQX3.4.  I haven't tried it with FSLMQX3.5 yet and think there will be slight update to do.

If you have feedback (success or questions) please reply to the message.

Regards,

David

0 Kudos
Reply

1,517 Views
tomaszk
Contributor II

Hi,

 

I have a silly problem with MSD USB bootloader and M52259EVB. After POR it doesn't jump to user application entry and stays in bootloader mode, even if I don't push the SW1 button. Everyhting is working fine when I use a  "reset button".

How can I force the code to jump to user application entry after POR without "reset buton"?

I don't want to use an external reset and my application should start immediatelly after power is switched on or jump to bootloader routine when the SW1 button is pressed.

What am I  doing wrong?

 

Regards,

 

tomaszk

 

 

 

0 Kudos
Reply

1,517 Views
DavidS
NXP Employee
NXP Employee

Take a peek at this post:

https://community.freescale.com/message/65390#65390

 

 

It talks about the various CLKMOD settings and what I saw working with POR.

Regards,

David

0 Kudos
Reply

1,517 Views
OOLife
Contributor III

Hello, DavidS,

 

Where can I find USBMSD.zip ?

 

As you mentationed in USB bootloader in MQX Instructions2.pdf are shown below.

 

The USBMSD.zip has only three files to replace (I open the respective files within CodeWarrior and copy-n-paste
the contents after saving a copy of the original file so that I can get the system back to initial configuration) files
within the FSLMQX3.4 folder chain for the M52259EVB BSP.

 

But, I couldn't find  user_config.h.MSD, intflash_MSD.lcf and vectors_MSD.c files in your attached zip file.

 

Where can I find USBMSD.zip ?

Could you give some more information? or link ?

 

Thanks.

0 Kudos
Reply

1,517 Views
DavidS
NXP Employee
NXP Employee

Sorry for delay...was on vacation.

Here is the ZIP file.

Regards,

David

0 Kudos
Reply

1,517 Views
elel
Contributor III

Hi Everybody

 

I'm trying to use the bootloader, and, while I was testing it, I've seen a strange problem:

 

If I "drag and drop" a "little" file, like the "V2 Blinks LED4 Flash.S19" provided in the "Bootloader USB MSD_DES4FSLMQX.zip", the update works good; but if the file that I "drag and drop" it's a bigger file (I've tried
with my application S19 that is 175kb, and with the "web_hvac.S19" provided in the "Bootloader USB MSD_DES4FSLMQX.zip" that is 723kb) the PC return me an error.

 

I'm using a PC with Windows XP pro edition with service pack 2.

 

I've found this same problem in the bootloader described in the application note  AN3927.

 

Anyone have already seen this problem too? or have any ideas on how to fix it?

 

Best Regards

 

Stefano

0 Kudos
Reply