This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB Secondary ISP Bootloader USBMem on Mac OSX

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?

Parents
  • 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

Reply
  • 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

Children
No data