Problem with NXP AN10866 USB Bootloader and MCB1700 board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Problem with NXP AN10866 USB Bootloader and MCB1700 board

643 次查看
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 项奖励
回复
4 回复数

618 次查看
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 项奖励
回复

598 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @perdrix 

" Is that expected?"

->>Yes, the same on my side.

 

BR

Alice

0 项奖励
回复

620 次查看
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 项奖励
回复

629 次查看
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 项奖励
回复