71
µTasker general / Re: How to configure SPI_FILE_SYSTEM to work with serial loader
« Last post by Ray on September 05, 2023, 03:39:22 AM »This one really has be stumped.
Yes, the main application when installed by itself, will enumerate the 16Mb SPI_FLASH_W25Q128.
That is the drive with a root directory for an HTTP simple interface so the web folder is on the spi flash chip and works perfectly as a standalone.
The main application when using a serial loader installs at 0x9080 The serial loader hex file confirms everything is in the correct location.
It feels like the Serial loader is failing somewhere when accessing the spi flash device. The serial loader enumerates a USB MSD in windows however it is only an empty 1.32 Mb I'm hoping this is a clue because I don't believe the chip actually is being accessed. I use that old windows SDK program usbview.exe to read the setup info.
The serial loader enumerates MSD but then just hangs, not jumping to the app.
When I install only the serial loader it continually reboots and enumerates that same false value, seems like a wtd reboot.
also, in kinetis_FLASH.h when EXT_FLASH_FILE_SYSTEM is defined, the switch statement has a case _STORAGE_PARALLEL_FLASH and is calling undefined functions fnWriteParallelFlash(), and fnGetExtFlashAdd(). (causes compile error)
Maybe that is a clue? I just comment out those functions since its about parallel flash not SPI flash
Yes, the main application when installed by itself, will enumerate the 16Mb SPI_FLASH_W25Q128.
That is the drive with a root directory for an HTTP simple interface so the web folder is on the spi flash chip and works perfectly as a standalone.
The main application when using a serial loader installs at 0x9080 The serial loader hex file confirms everything is in the correct location.
It feels like the Serial loader is failing somewhere when accessing the spi flash device. The serial loader enumerates a USB MSD in windows however it is only an empty 1.32 Mb I'm hoping this is a clue because I don't believe the chip actually is being accessed. I use that old windows SDK program usbview.exe to read the setup info.
The serial loader enumerates MSD but then just hangs, not jumping to the app.
When I install only the serial loader it continually reboots and enumerates that same false value, seems like a wtd reboot.
also, in kinetis_FLASH.h when EXT_FLASH_FILE_SYSTEM is defined, the switch statement has a case _STORAGE_PARALLEL_FLASH and is calling undefined functions fnWriteParallelFlash(), and fnGetExtFlashAdd(). (causes compile error)
Maybe that is a clue? I just comment out those functions since its about parallel flash not SPI flash
Recent Posts