We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
The Keil example AN10759 works great as far as mounting an image as a memory stick on a PC. I can drag and drop a new image on it and things program fine.
However, using Mac OSX, it doesn't work. By that, I mean that everything mounts up fine, firmware.bin shows up, but the exact same image that works with the PC dragged and dropped doesn't run on the MCB2300 board (LPC2368).
I would THINK that it should be the same regardless, since other memory sticks work fine. Why won't it work on OSX? Byte alignment issue? FAT12 issue?
Sound like similar reason as this topic,
Help for USB Secondary ISP Bootloader for lpc2148 www.embeddedrelated.com/.../33669.php
In above topic, the cause is as follows. The ISP Bootloader example (NXP-KEIL AN10759) assumes wrongly that the firmware file is always written at a fixed address on the "media" program FLASH. It doesn't follow cluster sequence on FAT system seriously.
Moreover, Mac OS writes many extra files to the USB drive, .Trashes, finder info file (._your_firmware_name), etc, when you copy the firmware.
The idea, mass storage for bootloader, seems good one at a glance, but after all, it's thoughtless one. OS handles the file system on the USB driver as it like.
Tsuneo