Commit Graph

7862 Commits

Author SHA1 Message Date
Léa Saviot
62c663ef17 [ion/led] Fix blue/green LEDs inversion 2019-04-05 14:20:14 +02:00
Émilie Feral
22b9924f31 Merge branch 'master' of github.com:numworks/epsilon into f7 2019-04-05 11:35:48 +02:00
Émilie Feral
d11e3050a3 [ion] Clean MPU initiation 2019-04-05 10:13:57 +02:00
Émilie Feral
1e3a1477eb [ion] N0101: configure MPU for QUASPI
L1 cache can issue speculative reads to any QUADSPI address (among the 256MB).
We configure the cache to prevent such accesses
2019-04-05 09:48:48 +02:00
Émilie Feral
a12bb26d40 [ion] MPU regs 2019-04-05 09:46:07 +02:00
É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
Romain Goyet
c84216d918 Misc build fixes 2019-03-22 10:38:20 +01:00
Romain Goyet
12c22deb2e [python] Fix the armv7 build on iOS 2019-03-21 18:24:54 +01:00