Search found 4 matches

by ervinbalazs
Wed May 29, 2019 8:38 am
Forum: ChibiOS/RT
Topic: EXT unhandled exception
Replies: 8
Views: 5819

Re: EXT unhandled exception

Wow, thanks Alexandre!

Indeed the chprintf function caused my problem. I tried without it, and now it's working properly. Well it's still odd that it works on the F407Discovery and not on my custom F405 board, but whatever. I can live with it.

Ervin
by ervinbalazs
Sun May 26, 2019 6:34 pm
Forum: ChibiOS/RT
Topic: EXT unhandled exception
Replies: 8
Views: 5819

Re: EXT unhandled exception

Okay, so I have to admit I'm a beginner, and I didn't really found where should I put the breakpoint exactly.

But I tried the new ChibiOS and the palEnablePadEvent function, with the palSetPadCallback, and the behaviour is the same. The code execution just stops, and I get an unhandled exception ...
by ervinbalazs
Tue May 21, 2019 6:41 am
Forum: ChibiOS/RT
Topic: EXT unhandled exception
Replies: 8
Views: 5819

Re: EXT unhandled exception

Hi,

This is how my code looks:

void extDnBtnTest(EXTDriver *extp, expchannel_t channel)
{
chprintf((BaseSequentialStream *)&SD3, "Down Button Pressed");
}

static const EXTConfig extcfg = {
{
{EXT_CH_MODE_DISABLED, NULL},
{EXT_CH_MODE_BOTH_EDGES | EXT_CH_MODE_AUTOSTART | EXT_MODE_GPIOC ...
by ervinbalazs
Mon May 20, 2019 7:35 am
Forum: ChibiOS/RT
Topic: EXT unhandled exception
Replies: 8
Views: 5819

EXT unhandled exception

Hey guys,

I'm having a little problem with my custom board, which has a STM32F405 controller. If I enable the EXT subsystem and I pull an input to the ground which I enabled to monitor, the code crashes. I tried reading simply the state of the same input, that works fine, nothing crashing ...