Problem with NXP AN10866 USB Bootloader and MCB1700 board

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

Problem with NXP AN10866 USB Bootloader and MCB1700 board

605 Views
perdrix
Contributor II

I built the sample Secondary USB Bootloader application (no changes) for the MCB1700 board and flashed the bootloader to the board.

I connected the board to my Windows 11 system (using the USB-B connector on the board).  Held down the joystick button and pressed RESET.

Windows "This PC" shows a USB device but nothing is shown as being mounted.

So what did I do wrong?   The joystick switch works OK and the earthy side of the switch measures 100 ohms (R81) to ground.

0 Kudos
Reply
4 Replies

580 Views
perdrix
Contributor II

Many thanks for checking that for me.

I tested with the prebuilt version after unzipping the file again.  That worked.  Rebuilding the project in uVision 5 and flashing it also worked, so I must have accidentally changed something while exploring the code.  My apologies for the error.

One question: The firmware.bin file is displayed as having a filesize of 504kB (always) even though I had previously flashed the blinky.bin which is only 32kB.   Is that expected?

David

0 Kudos
Reply

560 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @perdrix 

" Is that expected?"

->>Yes, the same on my side.

 

BR

Alice

0 Kudos
Reply

582 Views
perdrix
Contributor II

Rebuilding it seems to have worked OK.  I wonder what I accidentally changed.

There does appear to be an oddity.   Regardless of the image size if download into the board using the bootloader, when it starts it always shows a file firmware.bin of 504kb (not 512kB) not the size of the image I last loaded ...  Is that expected?

Thank you, David

0 Kudos
Reply

591 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @perdrix 

I tested it on my side, the usb bootloader can work well with win11.

Please test directly program the bootloader.hex file, not build by yourself, and before program, full erase the chip. Then power-up again. 

There should be a disk under my computer:

Alice_Yang_0-1690268584113.png

In Device manager, there is USB Mass Storage Device:

Alice_Yang_1-1690268616436.png

 

If still can not work, please check jumpers on your board refer to <AN10866>.

Alice_Yang_2-1690268736881.png

Alice_Yang_3-1690268751870.png

 

 

 

 

BR

Alice

 

0 Kudos
Reply