Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-13 | Change gpio setups from macros to inline functions. | Paul Selkirk | |
2016-06-13 | RSA keygen needs even more stack space than I thought. | Paul Selkirk | |
Also, it turns out the linker wants to include initializers for sdram variables in the .elf and .bin files, even though it should handle it like bss. So now we manage sdram directly with a pseudo-malloc. | |||
2016-06-13 | Only the HSM project needs the RTOS; most of the test projects can use the ↵ | Paul Selkirk | |
STM32 HAL code directly. | |||
2016-06-13 | Add __end symbols for CCMRAM and SDRAM sections. | Paul Selkirk | |
This lets us, say, use these sections for stack or heap. | |||
2016-06-13 | SDRAM is for uninitialized data only. | Paul Selkirk | |
We don't plan to put initialized data in SDRAM, and we don't have startup code to copy initialized data, so don't even bother. Further, the linker will reserve space in FLASH, even for uninitialized data, so just don't. | |||
2016-06-13 | Hide sdram initialization functions and defines. | Paul Selkirk | |
2016-06-13 | Use a delay loop, so sdram can be initialized from the startup code, before ↵ | Paul Selkirk | |
the clock is running. | |||
2016-06-09 | Put thread stack buffers in SDRAM, because pkey uses a lot of stack. | Paul Selkirk | |
Also rearchitect the way we handle RPC requests - have a bunch of waiting dispatch threads rather than continually creating and deleting threads. | |||
2016-06-09 | Rename main.c to hsm.c for consistency and a slightly simpler Makefile. | Paul Selkirk | |
2016-06-08 | Include strings.h, for strcasecmp(). | Rob Austein | |
2016-06-08 | bootloader doesn't need stm-fmc either | Fredrik Thulin | |
2016-06-08 | Merge branch 'master' of git.cryptech.is.:sw/stm32 | Fredrik Thulin | |
2016-06-07 | Don't reboot when CLI logout is intended. | Paul Selkirk | |
2016-06-07 | Check the HARDWARE_EARLY_DFU_JUMP flag as soon as possible in the boot process. | Paul Selkirk | |
This avoids the situation where the bootloader systick happens during firmware initialization, and freaks out. Also build the bootloader with the minimum resources needed (no RTOS, no SPI, no I2C). | |||
2016-06-07 | fix some comments | Fredrik Thulin | |
2016-06-06 | Use refactored slip/serial code. | Paul Selkirk | |
Client daemon sends client ID, echo it back in response. | |||
2016-06-06 | Split HAL_UART_RxCpltCallback into uart-specific callbacks. | Paul Selkirk | |
2016-06-06 | Refactor HAL_UART_MspInit, link DMA in MX_USART*_UART_Init so ↵ | Paul Selkirk | |
HAL_UART_MspInit doesn't have to. | |||
2016-06-06 | Fix UART pin assignments. (It uses the Alternate in any case.) | Paul Selkirk | |
2016-06-06 | Fix definition of LED_RED in mbed_die. | Paul Selkirk | |
2016-06-06 | Change enum stm_uart_port port to a typedef. | Paul Selkirk | |
2016-06-06 | Restore LED definitions for dev-bridge board. | Paul Selkirk | |
2016-06-06 | Remove the 6-second blue blink for alpha board. | Paul Selkirk | |
2016-06-06 | Remove unused hex file. | Paul Selkirk | |
2016-06-06 | Remove unused projects. | Paul Selkirk | |
2016-06-06 | Don't break builds for dev-bridge board. | Paul Selkirk | |
2016-06-02 | Merge branch 'ft-uart_it' | Fredrik Thulin | |
2016-06-02 | Use DMA for UART RX instead of interrupts. | Fredrik Thulin | |
DMA is more efficient and less prone to miss characters than interrupts. An open question is if circular mode is really the best. If someone copy-pastes more than the RX buffer size of configuration into the CLI, we risk the DMA controller catching up with the reader and overwriting data not yet read. Since we don't have flow control back to the users terminal, we will always fail if too much data is entered before we can process it. The question is if failing to stuff new data at the end of a buffer might be better than data being overwritten - thus messing up the commands in unpredictable ways. | |||
2016-06-02 | Move the rest of the CLI commands out of cli-test.c. | Fredrik Thulin | |
2016-06-01 | Implement circular buffer UART RX using interrupts. | Fredrik Thulin | |
2016-06-01 | Move FPGA related commands to mgmt-fpga.c | Fredrik Thulin | |
2016-06-01 | Wait for FPGA_DONE on startup (available on Alpha board) | Fredrik Thulin | |
2016-05-31 | Update huart names to reflect change in stm-uart. | Fredrik Thulin | |
2016-05-27 | Merge branch 'ft-dfu-code-loading' | Fredrik Thulin | |
2016-05-27 | formatting | Fredrik Thulin | |
2016-05-27 | Merge branch 'master' of git.cryptech.is.:sw/stm32 | Fredrik Thulin | |
2016-05-27 | DFU working - but no signature validation for now. | Fredrik Thulin | |
2016-05-27 | cli_command_root_node: bugfix missing command callback | Fredrik Thulin | |
2016-05-26 | Figure out if the user (me) has a NUCLEO board. | Fredrik Thulin | |
2016-05-26 | Implement a bootloader. | Fredrik Thulin | |
This bootloader is now the application at 0x08000000 (FLASH start), which the STM32 will execute upon reset. The other applications are now loaded at 0x08030000 (128 KB into the flash) and will never get started unless the bootloader has been programmed into flash too. | |||
2016-05-25 | More DFU code. This might actually work. | Fredrik Thulin | |
The applications to be uploaded using 'dfu upload' have to have another FLASH defined in their linker script. Have to recompile some firmware tomorrow and test if this actually works. | |||
2016-05-25 | Merge remote-tracking branch 'origin/master' into ft-dfu-code-loading | Fredrik Thulin | |
2016-05-25 | remove non-free files we're not using anyways | Fredrik Thulin | |
2016-05-24 | Try harder to pick up updates from our submodules. | Paul Selkirk | |
2016-05-24 | #include stm32f4xx_hal.h since stm-fmc.h now references HAL symbols. | Paul Selkirk | |
This has a knock-on effect in hal_io_fmc.c, but that's in another repo. | |||
2016-05-24 | Merge branch 'master' of git.cryptech.is:sw/stm32 | Paul Selkirk | |
2016-05-24 | Add test-mkmif | Paul Selkirk | |
2016-05-24 | Remove unused linker scripts | Paul Selkirk | |
2016-05-24 | Remove duplicate cli-test target | Paul Selkirk | |
2016-05-24 | non-working code to upload an application and jump to it | Fredrik Thulin | |
Committing my work in progress in case someone else wants to help. |