Hi, I created a port of Mecrisp-Stellaris for the GD32E230 MCU, using an LCSC GD32E230 dev board. The port can be found here: https://github.com/nochtli/mecrisp-stellaris/tree/gd32e230/gd32e230x8-ra https://github.com/nochtli/mecrisp-stellaris/tree/gd32e230/mecrisp-stellaris-source/gd32e230x8-ra Peter
Hi, I created a port of mecrisp-quintus for the CH32V307VCT6 MCU. The code is almost the same as for the CH32V203. The main differences lie in the interrupt vector table. The port can be found on GitHub. Peter
Hi Chan, I managed to fix the issue. When I created the port, I intended to set the number of stop bits in terminal.s to 1, but due to a mistake, it was instead set to 0.5. Now I have corrected the value to 2 (same value as for the CH32V203 port). Code can be found here: https://github.com/nochtli/mecrisp-quintus. BR / Peter
Hi Chan, So far I had only operated the developer board with a WCH-Link v1.2 and only used the built-in USB-UART-converter which seems to be a bit more tolerant. However, I was able to reproduce the problem with other converters (FT232 and CH340C). I couldn't find any differences in the reference manuals, but it seems that the CH32L103's USART peripheral behaves slightly differently than the CH32V203's (I used the CH32V203 code as the basis for the CH32L103 port). A value of $00000045 must be written...
Hi Chan, So far I had only operated the developer board with a WCH-Link v1.2 and only used the built-in USB-UART-converter which seems to be a bit more tolerant. However, I was able to reproduce the problem with other converters (FT232 and CH340C). I couldn't find any differences in the datasheets, but it seems that the CH32L103's USART peripheral behaves slightly differently than the CH32V203's (I used the CH32V203 code as the basis for the CH32L103 port). According to the datasheet, a value of...
Hi, Recently I wanted to know whether Mecrisp allows underscores in numbers to improve readability. This is not the case. However, it is possible to repeat the prefix character, e.g. %1111%0000%1111%0000%1111%0000%1111%0000 hex. F0F0F0F0 ok. $AAAA$BBBB hex. AAAABBBB ok. It is even possible to express numbers by concatenating numbers with different bases, e.g.: $AAAA%1111000011110000 hex. AAAAF0F0 ok. 4096%1111000011110000 hex. 1000F0F0 ok. %1111000011110000$EEEE hex. F0F0EEEE ok. This is an interesting...
Hi Matthias, Yes, please do so. I just added bin and hex files and a short README to the ch32l branch. Peter
Hi, I managed to create a port of mecrisp-quintus for the CH32L103 low power MCU. The code is almost the same as for the CH32V203. I had to remove "erasedflashspecial" because the flash memory contains 0xFFFFFFFF after erasing. I also adjusted the interrupt vector table. The port can be found on GitHub. Peter