21 Commits

Author SHA1 Message Date
Konrad Beckmann
e9274afa57 Support 4k address offset properly 2021-01-05 08:02:16 +01:00
Konrad Beckmann
5201a867bc use string.h instead of memory.h 2021-01-03 18:24:39 +01:00
Konrad Beckmann
74466b26bb Perform SHA256 hashing of ram and flash 2021-01-03 16:09:47 +01:00
Konrad Beckmann
9ee629fb95 Support erasing 4kB sectors 2020-12-29 15:29:03 +01:00
Konrad Beckmann
19d45e00cb Handle unaligned payloads 2020-12-29 02:37:42 +01:00
Konrad Beckmann
7a3f517224 Fix warnings 2020-12-28 16:08:41 +01:00
Konrad Beckmann
59b50a4988 Send WriteEnable before each BlockErase 2020-12-26 07:00:45 +01:00
Konrad Beckmann
a505ebf90d Only erase the blocks that will be programmed 2020-12-26 06:12:00 +01:00
Konrad Beckmann
cf85e71d87 Always allow 16MB flash 2020-12-26 05:22:42 +01:00
Konrad Beckmann
769c953a9e Use SPI_MODE to make sure it works with any flash 2020-12-26 05:22:29 +01:00
Joksan Alvarado
874d131a5c Several minor improvements aimed for speed and extensibility.
- Added a configuration option to move the interrupt vector table to ITCM and made it active.
- Relocated all code and IVT sections to ITCRAM for even faster execution in the linker script.
  Also relocated exception unwinding sections from FLASH to DTCM and updated comments.
- Disabled data section initialization (not needed anymore as DTCM is now initialized by the
  debugger).
2020-12-01 01:52:53 +01:00
Thomas Roth
dfa212af96 Run from RAM 2020-11-29 12:32:36 +01:00
Konrad Beckmann
9c282f0e8e Fix quad mode for MX flash 2020-11-28 13:47:39 +01:00
Konrad Beckmann
cd2b029926 Add support for flashing >1M using flash_multi.sh 2020-11-27 01:44:14 +01:00
Konrad Beckmann
3b9080e4de Make flash.sh block until programming is done 2020-11-27 00:22:25 +01:00
Konrad Beckmann
940432c714 Add support for address and size 2020-11-26 23:47:30 +01:00
Konrad Beckmann
efd8c4ea18 Convert files to unix line endings 2020-11-26 22:30:20 +01:00
Konrad Beckmann
7b4326f524 Add proper quad spi support for MX and ISSI 2020-11-26 22:26:21 +01:00
Konrad Beckmann
ae8e8682c9 Wait for Write In Progress Bit when programming 2020-11-26 16:28:16 +01:00
Konrad Beckmann
5548a924c0 Wait for status register when programming 2020-11-26 16:08:04 +01:00
Thomas Roth
c5a8090cfa Init 2020-11-24 14:16:11 +01:00