Commit Graph

7758 Commits

Author SHA1 Message Date
É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
Émilie Feral
4b437812a5 [ion] N0101 cache: expose cleanDCache and hide
privateCleanInvalidateDisableDCache methods
2019-03-21 13:26:41 +01:00
Émilie Feral
e20e8030c2 [ion] Fix comment on Reset::jump 2019-03-21 10:50:17 +01:00
Léa Saviot
e5c5413afc [ion] Disable cache before a jump 2019-03-20 17:20:12 +01:00
Léa Saviot
ac7c5e8e36 [ion] After a reset, invalidate the data/instruction caches 2019-03-20 16:17:54 +01:00
Léa Saviot
079d947955 [ion] Cache invalidation methods 2019-03-20 16:15:12 +01:00
Émilie Feral
da0c95a801 [scripts] Change elf2dfu to build a .dfu with 2 elements: internal &
external
2019-03-19 15:59:14 +01:00
Émilie Feral
86f58a3cf9 [ion] Add configuration for Flash of N0101 and N0100 2019-03-19 12:38:07 +01:00
Émilie Feral
2ba1a053a5 [ion] Flash: between data write operations or accesses to FLASH_CR, issue a DSB instruction to guarantee the completion of the operation 2019-03-19 11:56:11 +01:00
Émilie Feral
1ac6167420 [ion] Clean drivers/cache: implement dummy dsb for N0100 2019-03-19 11:55:03 +01:00
Émilie Feral
521eeaa83c [ion] Flash: wait for the flash BUSY flag to clear between two flash operations
(Otherwise, flashing the internal flash of N0101 fails)
2019-03-19 11:52:10 +01:00
Émilie Feral
252049a838 [ion] Flash: clear error flags when closing the Flash 2019-03-19 11:21:31 +01:00
Émilie Feral
31f1bd32e4 [ion] Fix build of device/shared/drivers/external_flash.o 2019-03-19 09:32:30 +01:00
Émilie Feral
1aef86cedb [ion] Timing: decrease AHB clock frequency in msleep to save power
y	modified:   scripts/device/openocd.n0100.cfg
2019-03-18 11:24:58 +01:00
Émilie Feral
5ec4fb5486 [ion] ExternalFlash: implement ExternalFlash::shutdown 2019-03-15 18:00:11 +01:00
Émilie Feral
1e536c187e [ion] External flash: avoid initing QUADSPI peripheral if the model does
not have any external flash
2019-03-15 18:00:11 +01:00
Émilie Feral
25453f32f7 Revert "[ion] Dummy implementation of n0100 external flash to avoid initing the"
This reverts commit 88737f1e29.
2019-03-15 17:59:12 +01:00
Léa Saviot
3ac9749e75 [ion] WriteMemory arguments order same as memcpy 2019-03-15 16:46:50 +01:00
Émilie Feral
88737f1e29 [ion] Dummy implementation of n0100 external flash to avoid initing the
QUADSPI peripheral when unused
2019-03-15 10:23:00 +01:00
Émilie Feral
ff6d8139f3 Merge branch 'master' of github.com:numworks/epsilon into f7 2019-03-14 15:10:40 +01:00
Romain Goyet
caef2e8c6f Add GitHub issue templates 2019-03-13 10:19:02 +01:00