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: 4339

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 ...
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: 4339

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:

m

This issue was reproducible across platforms (ST32, KINETIS, MIMXRT1062), and the ...
by stapelberg
Wed Apr 21, 2021 5:14 pm
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 106
Views: 196461

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 driver ...
by stapelberg
Tue Apr 20, 2021 10:46 pm
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 106
Views: 196461

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 ...
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: 3933

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 m, which removes file os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk (among others).

These files are currently in use by ChibiOS-Contrib, see e.g. m

Would it be possible ...
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)
Replies: 6
Views: 10281

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

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 ...
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)
Replies: 6
Views: 10281

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

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)
Replies: 6
Views: 10281

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

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)
Replies: 6
Views: 10281

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

I first wanted to send this as a pull request to m, 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 allowed file extension in this ...
by stapelberg
Wed Jun 03, 2020 9:21 pm
Forum: Kinetis Support
Topic: Teensy 3.6 and MK66FX1M0VMD18 support?
Replies: 5
Views: 106588

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 ...