cortex-from-scratch
4 years agoeeprom, cases for n=1, n=2 and n>2
Robin Krens [Sun, 11 Aug 2019 15:40:01 +0000 (23:40 +0800)]
eeprom, cases for n=1, n=2 and n>2

4 years agoeeprom sequential read
Robin Krens [Sun, 11 Aug 2019 13:34:16 +0000 (21:34 +0800)]
eeprom sequential read

4 years agoeeprom at24c signs of life
Robin Krens [Fri, 9 Aug 2019 16:12:53 +0000 (00:12 +0800)]
eeprom at24c signs of life

4 years agoraising and failing edge capture on TIM4
Robin Krens [Tue, 6 Aug 2019 19:18:26 +0000 (03:18 +0800)]
raising and failing edge capture on TIM4

4 years agobasic implemtation general purpose clock and tinyprintf
Robin Krens [Mon, 5 Aug 2019 14:29:35 +0000 (22:29 +0800)]
basic implemtation general purpose clock and tinyprintf

TIM4 used as general purpose timer; output mode; sends out continous
pulses over GPIOB6. Implementation tinyprintf library (not all converted
yet).

4 years agortc implementation
Robin Krens [Thu, 1 Aug 2019 15:32:49 +0000 (23:32 +0800)]
rtc implementation

Basic rtc implementation. LSE oscillator is used as clock source
(32kHz). Second (periodic) interrupt is enabled to trigger a interrupt
every second. RTC is not calibrated with tamper pin (so could be off
with a few second each month). Added small uptime cmd.

4 years agoHSE usage
Robin Krens [Tue, 30 Jul 2019 20:11:42 +0000 (04:11 +0800)]
HSE usage

High speed external clock set to 36 MHz, 72MHz speeds crashed on board.
No changes to buspeeds. Adaptions to UART baud rates.

4 years agotm1637 signs of life, terminal builtin cmds
Robin Krens [Sun, 28 Jul 2019 20:00:58 +0000 (04:00 +0800)]
tm1637 signs of life, terminal builtin cmds

4 years agobasic led gpio driver
Robin Krens [Thu, 25 Jul 2019 14:33:25 +0000 (22:33 +0800)]
basic led gpio driver

4 years agotested working terminal and reordering of code
Robin Krens [Wed, 24 Jul 2019 20:26:08 +0000 (04:26 +0800)]
tested working terminal and reordering of code

4 years agobasic terminal
Robin Krens [Tue, 23 Jul 2019 19:00:45 +0000 (03:00 +0800)]
basic terminal

4 years agofixed-sized memory pool allocator
Robin Krens [Mon, 22 Jul 2019 18:22:23 +0000 (02:22 +0800)]
fixed-sized memory pool allocator

4 years agosmall system SRAM info output
Robin Krens [Fri, 19 Jul 2019 18:55:07 +0000 (02:55 +0800)]
small system SRAM info output

Small sysinfo output of SRAM memory, stack and used memory so far

4 years agofurther ivt and isr implementation
Robin Krens [Fri, 19 Jul 2019 15:37:48 +0000 (23:37 +0800)]
further ivt and isr implementation

general (dummy) exception or interrupt handlers show exception number
(from VTOR status register)

4 years agouart small ping pong receive, update of register functions
Robin Krens [Thu, 18 Jul 2019 16:55:33 +0000 (00:55 +0800)]
uart small ping pong receive, update of register functions

no priorities, so one handler might keep 霸占 the CPU

4 years agobasic memory management and uart wait fix
Robin Krens [Mon, 15 Jul 2019 16:58:54 +0000 (00:58 +0800)]
basic memory management and uart wait fix

4 years agouart functionality (delay) + interrupt tested
Robin Krens [Sun, 14 Jul 2019 17:38:53 +0000 (01:38 +0800)]
uart functionality (delay) + interrupt tested

4 years agobasic uart functionality (not tested)
Robin Krens [Sat, 13 Jul 2019 16:13:52 +0000 (00:13 +0800)]
basic uart functionality (not tested)

4 years agoimplementation of interrupts, SysTick exception
Robin Krens [Wed, 10 Jul 2019 20:11:15 +0000 (04:11 +0800)]
implementation of interrupts, SysTick exception

4 years agoinit vector implementation
Robin Krens [Wed, 10 Jul 2019 10:40:58 +0000 (18:40 +0800)]
init vector implementation

4 years agoprint to uart0 [note: always printed on screen through DMA]
Robin Krens [Tue, 9 Jul 2019 06:24:26 +0000 (14:24 +0800)]
print to uart0 [note: always printed on screen through DMA]

4 years agojump to c
Robin Krens [Mon, 8 Jul 2019 13:39:02 +0000 (21:39 +0800)]
jump to c

4 years agostatic RAM (.data) usage
Robin Krens [Fri, 5 Jul 2019 09:49:05 +0000 (17:49 +0800)]
static RAM (.data) usage

4 years agofirst commit, basic setup and makefile
Robin Krens [Fri, 5 Jul 2019 09:09:55 +0000 (17:09 +0800)]
first commit, basic setup and makefile