Commit Graph

7778 Commits

Author SHA1 Message Date
Émilie Feral
f5ce18fe26 [ion] ExternalFlash: fix comment 2019-04-05 09:45:43 +02:00
Émilie Feral
b1c3c2813e [ion] ExternalFlash: reset QUADSPI peripheral 2019-04-05 09:45:32 +02:00
Émilie Feral
eecfac290c [ion] Add regs in Cortex (to activate fault interruption) 2019-04-05 09:41:49 +02:00
Émilie Feral
bb14d37f2a [ion] Add specific configuration for regs/cortex.h for model N0100 and
N0101
2019-04-05 09:39:39 +02:00
Émilie Feral
33bccf0109 [ion] Change name: CM4 --> Cortex 2019-04-04 17:54:56 +02:00
Émilie Feral
731b6148b2 [ion] Build ion/src/device/stack.cpp to fix build when DEBUG=1 2019-04-04 17:39:45 +02:00
Émilie Feral
d5129f004e [ion] Clocks: clean clocks init 2019-04-04 16:27:09 +02:00
Léa Saviot
d746aa7de3 [ion/N0101] Add comment to slow down the system clock to 24MHz 2019-04-04 15:45:51 +02:00
Émilie Feral
edda57c334 [ion] N0101: init L1 cache after initing the external flash 2019-04-01 10:04:47 +02:00
Romain Goyet
f30cbb40bf [ion/device/n0101] Put libgcc in the internal flash
Indeed, code from aeabi can be emitted anytime by the compiler,
including when the external flash has not yet been configured.
2019-03-29 10:14:27 -07:00
Émilie Feral
14e0e213ab [ion] Fix systick interruption 2019-03-28 15:49:11 +01:00
Émilie Feral
9da962171d [ion] N0101: fix External flash comments (QUADSPI pins) 2019-03-28 15:49:11 +01:00
Émilie Feral
6df5a60603 [ion] N0101: fix VTOR initialisation (location of interrupt vector) 2019-03-28 15:49:11 +01:00
Émilie Feral
6fbf8fe196 [scripts] Add method in gdb script (load_isr, use_dfu_symbol_file) 2019-03-28 15:49:11 +01:00
Émilie Feral
1c227c0952 [ion] Start fixing tests on ExternalFlash 2019-03-28 15:49:11 +01:00
Émilie Feral
c0bc675f02 [ion] External Flash: fix typos 2019-03-28 15:49:11 +01:00
Émilie Feral
9ab2eea78f [ion] n0101 Timings: approximatly calibrate msleep and usleep 2019-03-28 15:49:11 +01:00
Émilie Feral
8ca194734d [ion] N0101: enable overdrive in initClock 2019-03-28 15:49:11 +01:00
Émilie Feral
59ae13bf6c [ion] Add PWR regs (to enable Overdrive) 2019-03-28 15:49:11 +01:00
Émilie Feral
11c3103f0d [ion] Fix Timing (theorytically) 2019-03-28 15:49:11 +01:00
Émilie Feral
ef6f3f0ca0 [ion] ExternalFlash: fix bugs 2019-03-28 15:49:11 +01:00
Léa Saviot
fe7cb58a7c [bench] Do twice the write memory test
It failed before due to a missing abort command for the external flash
2019-03-26 09:38:03 +01:00
Léa Saviot
90ee156f5b [ion/n0101] Add assertion on BUSY state of the external flash 2019-03-25 11:27:59 +01:00
Léa Saviot
44b5114c3f [ion/n0101] On the external flash, fix leaving memory-mapped mode. 2019-03-25 11:22:35 +01:00
Léa Saviot
8a7adc9377 [ion] Fix memory-mapped read after indirect operation on external flash
Workaround from ST's Errata sheet ES0360 Rev 3
2019-03-25 10:57:12 +01:00
Léa Saviot
992222e163 [ion] Before a jump reset, deinit the flash and shutdown the board 2019-03-22 17:58:42 +01:00
Léa Saviot
39bf02033c [ion] ExternalFlash::deinit 2019-03-22 17:58:42 +01:00
Léa Saviot
dcd558512a [bench] WRITE_EXTERNAL command 2019-03-22 17:58:42 +01:00
Léa Saviot
da1a9feade [bench] Do not light up the LED on init 2019-03-22 17:58:42 +01:00
Léa Saviot
f4def0b9df [ion] Remove and comment Timing::init, to fix later 2019-03-22 17:58:42 +01:00
Léa Saviot
44a992c283 [ion] Add DisplayInversion for n0101 2019-03-22 17:58:42 +01:00
Léa Saviot
b413da0d91 [ion] Fix USART communication: wait for transmission done in writeLine 2019-03-22 17:58:42 +01:00
Léa Saviot
a656b80089 [ion] Calibrate msleep / usleep for N0101 2019-03-22 17:58:42 +01:00
Léa Saviot
c4c2643b53 [bench] Poincare::init at in run 2019-03-22 17:58:42 +01:00
Léa Saviot
8f1f3d5af0 [external_flash] WriteMemory source argument is const 2019-03-22 17:58:42 +01:00
Léa Saviot
cb1c4debc2 [ion/drivers/display] Add details about the FSMC 2019-03-22 17:58:42 +01:00
Léa Saviot
91dafd73ff [ion] Ion::Device::reset::jump() jumps to the initialisation vector 2019-03-22 17:58:42 +01:00
Léa Saviot
2772fe5f28 [bench] RESET command 2019-03-22 17:58:42 +01:00
Léa Saviot
4d5729dde3 [bench] bench.bin target builds for RAM 2019-03-22 17:58:42 +01:00
Ruben Dashyan
9b50942996 [ion/device/drivers/external_flash] Fix dummy cycles for Fast Read in QPI mode 2019-03-22 16:20:46 +01:00
Ruben Dashyan
d34c5d3df9 [ion/device/drivers/external_flash] Clarify ChipSelectHighTime 2019-03-22 16:20:46 +01:00
Léa Saviot
5babf98007 [scripts] Default device build is for n0101 2019-03-22 15:45:31 +01:00
Léa Saviot
1676dc35bf [ion/n0101] Update frequency ration for 8MHz quartz 2019-03-22 15:44:30 +01:00
Émilie Feral
e0be38681b [scripts] Fix elf2dfu.py to sort internal/external sections on their address rather than
on their names
2019-03-21 15:40:15 +01:00
Émilie Feral
478d49b416 [ion] DFU leave instruction triggers a core reset on N0101 and a soft
reset on N0100 (to avoid booting on ST bootloader as the device is
plugged)
2019-03-21 14:23:51 +01:00
Émilie Feral
c298c17af8 [ion] Remove outdated f730 folder 2019-03-21 14:06:54 +01:00
Émilie Feral
47327c39c9 [ion] DFU reallocation: clean DCache after copying the DFU bootloader to the RAM 2019-03-21 13:58:27 +01:00
Émilie Feral
d68c568e8d [ion] Add TODO on Reset::jump 2019-03-21 13:57:51 +01:00
Émilie Feral
02317a7659 [ion] start: discard useless cache invalidations when booting 2019-03-21 13:56:06 +01:00
Émilie Feral
d8ce253ca2 [ion] N0101 cache: add missing dsb, isb 2019-03-21 13:27:00 +01:00