Search found 7 matches

by geoffroy
Thu Feb 11, 2016 4:58 pm
Forum: ChibiOS/HAL
Topic: Problem for restoring shell [SOLVED]
Replies: 1
Views: 2366

Re: Problem for restoring shell

Ok, It seems that it was a memory allocation problem ;-)
I add this and everything is working :

Code: Select all

   if(shellThread) {
      chThdRelease(shellThread);
   }
by geoffroy
Thu Feb 11, 2016 4:42 pm
Forum: ChibiOS/HAL
Topic: Problem for restoring shell [SOLVED]
Replies: 1
Views: 2366

Problem for restoring shell [SOLVED]

Hi Giovanni,

I need to close the shell interface temporary and restore it later, because I need to use USART 1 (used by the shell) with another peripheral during a short delay.
Here is what I do actually :

1. I close the shell from a command, ie:


static void cmd_exit_shell(BaseSequentialStream ...
by geoffroy
Thu Jan 21, 2016 12:19 pm
Forum: STM32 Support
Topic: Calling stm32 internal bootloader from application
Replies: 9
Views: 13459

Re: Calling stm32 internal bootloader from application

@flabbergast

We tested the solution about patching chibios. It's working great ;-)

Thanks ! :D
by geoffroy
Tue Jan 19, 2016 9:46 am
Forum: STM32 Support
Topic: Calling stm32 internal bootloader from application
Replies: 9
Views: 13459

Calling stm32 internal bootloader from application

Hi Giovanni,

We are trying to calling the STM32 SystemMemory Bootloader from our application,
but we encountered some problems.

In order to make bootloader working, it's necessary to do some stuff before : (from ST documentation)

Disable all peripheral clocks
• Disable used PLL
• Disable ...
by geoffroy
Mon Nov 02, 2015 4:30 pm
Forum: ChibiOS/HAL
Topic: DAC Conversion probel on STM32L1xx
Replies: 6
Views: 4871

Re: DAC Conversion probel on STM32L1xx

Ok thanks, I will do that :) .

Regards,

Geoffroy
by geoffroy
Mon Nov 02, 2015 11:15 am
Forum: ChibiOS/HAL
Topic: DAC Conversion probel on STM32L1xx
Replies: 6
Views: 4871

Re: DAC Conversion probel on STM32L1xx

Hi Giovanni,

Thanks for this quick reply.

Your code works great, but I get always the same issue with dacConvert( ... ) method.
In fact, I need to have a single analogic value to the output of PA4 (not a sine wave, or something else)
I think I don't need to use GTP timer for that, and dacConvert ...
by geoffroy
Fri Oct 30, 2015 4:25 pm
Forum: ChibiOS/HAL
Topic: DAC Conversion probel on STM32L1xx
Replies: 6
Views: 4871

DAC Conversion probel on STM32L1xx

Hi everybody,

I have a problem for converting a simple digital value with the DAC driver :
- In async mode, callbacks (error and success) are never called.
- In sync mode, the program blocks at dacConvert( .. ) more precisely l.304 of dac.c in osalThreadSuspendS ( .. )

Here is a minimal code to ...