Search found 10 matches

by stapelberg
Tue Apr 27, 2021 8:30 am
Forum: General Support
Topic: FYI: ChibiOS shell on USB virtual serial (CDC ACM) on Linux needs a delay
Replies: 3
Views: 122

Re: FYI: ChibiOS shell on USB virtual serial (CDC ACM) on Linux needs a delay

Hi, Good article, have you tried to exit the shell and see if it restarts? the semaphore is not necessarily signaled again. Giovanni Unfortunately, there’s another bug with exiting the shell (causes a hardfault) that I haven’t had time to look into. Until that one is fixed, I can’t test the restart...
by stapelberg
Tue Apr 27, 2021 7:39 am
Forum: General Support
Topic: FYI: ChibiOS shell on USB virtual serial (CDC ACM) on Linux needs a delay
Replies: 3
Views: 122

FYI: ChibiOS shell on USB virtual serial (CDC ACM) on Linux needs a delay

Hey! I recently took a closer look at why the ChibiOS shell prompt would often not appear correctly on the USB virtual serial device, and wrote down the individual problems that I found, and solution I settled on: https://michael.stapelberg.ch/posts/2021-04-27-linux-usb-virtual-serial-cdc-acm/ This ...
by stapelberg
Wed Apr 21, 2021 5:14 pm
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 63
Views: 3700

Re: [DEV] RP2040 support

Hi, We are still in early development so loading in RAM is just what we do currently, flash support will come, it requires a different scatter file and the "loader" expected by the boot ROM like in SDK demos. About USB, there is not yet a driver in the HAL, are you trying the Pico-SDK dri...
by stapelberg
Tue Apr 20, 2021 10:46 pm
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 63
Views: 3700

Re: [DEV] RP2040 support

Thanks for your work on supporting the Raspberry Pi Pico! It seems like ChibiOS can currently only be loaded into RAM using a debugger (e.g. another Raspberry Pi Pico with picoprobe firmware), as it has the wrong entrypoint to be written to flash. I can successfully load demos/RP/RT-RP2040-PICO from...
by stapelberg
Fri Mar 26, 2021 11:33 pm
Forum: Bug Reports
Topic: ARMCMx removal breaks ChibiOS-Contrib targets (e.g. Teensy 3.6)
Replies: 2
Views: 185

ARMCMx removal breaks ChibiOS-Contrib targets (e.g. Teensy 3.6)

Hey, When upgrading my working copy of ChibiOS, I noticed that my targets no longer compile. I tracked it down to commit https://github.com/ChibiOS/ChibiOS/commit/b6df752c69fdca54e42695316c3769176d568839, which removes file os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk (among others). These fi...
by stapelberg
Sat Mar 13, 2021 3:33 pm
Forum: Bug Reports
Topic: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved
Replies: 6
Views: 1696

Re: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved

Hm, actually it seems like I need to align to 512 after fixing #define CORTEX_NUM_VECTORS 160 in cmparams.h, otherwise the device doesn’t work. Not 100% sure why right now. I figured out my misunderstanding: I previously missed that the alignment needs to happen on words (each vector table entry is...
by stapelberg
Thu Jun 11, 2020 9:33 pm
Forum: Bug Reports
Topic: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved
Replies: 6
Views: 1696

Re: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved

Aligning to 1024 sounds good to me.

Do you want me to update my patch or are you going to make the change?
by stapelberg
Thu Jun 11, 2020 8:21 pm
Forum: Bug Reports
Topic: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved
Replies: 6
Views: 1696

Re: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved

Hm, actually it seems like I need to align to 512 after fixing

Code: Select all

#define CORTEX_NUM_VECTORS      160

in cmparams.h, otherwise the device doesn’t work. Not 100% sure why right now.
by stapelberg
Thu Jun 11, 2020 6:33 pm
Forum: Bug Reports
Topic: [PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved
Replies: 6
Views: 1696

[PATCH] ARMCMx: rules_code.ld: align .vectors to 256 (for e.g. Teensy 4.1) Topic is solved

I first wanted to send this as a pull request to https://github.com/ChibiOS/ChibiOS, but then saw an older pull request that was closed with a message to “post to the forums”, so here comes a patch that I would like to ask you to review and merge. I tried attaching the file, but .patch is not an all...
by stapelberg
Wed Jun 03, 2020 9:21 pm
Forum: Kinetis Support
Topic: Teensy 3.6 and MK66FX1M0VMD18 support?
Replies: 5
Views: 7494

Re: Teensy 3.6 and MK66FX1M0VMD18 support?

Hi! I started a project with Teensy 3.6 where I want to do a USB to uart bridge among other things, I used a teensy 3.2 example as reference and I saw that the output of the UART was slower than should be. I'm assuming I have something wrong in the clock configuration in mcuconf.h, can anyone confi...

Go to advanced search