Search found 37 matches

by HDKLog
Wed Jan 16, 2019 3:02 pm
Forum: Bug Reports
Topic: usb_event called not within interrupt handler Topic is solved
Replies: 8
Views: 766

Re: usb_event called not within interrupt handler Topic is solved

Hello Giovanni, I tested my code on the workspace computer and wasn't able to reproduce error. I don't remember all details of my test where I have catched this error and everything seems to work fine. If I will catch this error again I will let you know with all details and conditions.
by HDKLog
Fri Jan 11, 2019 12:05 am
Forum: General Support
Topic: Does ChibiOS have drivers for integrated operational amplifiers?
Replies: 4
Views: 361

Does ChibiOS have drivers for integrated operational amplifiers?

Hello. I want to use opamp's integrated in STM32F303 MCU. I know ADC driver was tempt to be portable and generic as much as possible, to be used with many different MCU's but is there any extended futures in ADC or separated driver for integrated opamp's? Also any example code of integrated opamp's ...
by HDKLog
Thu Jan 10, 2019 11:31 pm
Forum: Bug Reports
Topic: usb_event called not within interrupt handler Topic is solved
Replies: 8
Views: 766

Re: usb_event called not within interrupt handler Topic is solved

Hello Giovanni, Sorry for late response, I was busy with projects and don't have notifications enabled. I have installed ChibiStudio preview on Windows 7 and correct me if I'm wrong, it uses GCC, OpenOCD and GDB fro debuging. there was available GCC 5.4 and 7.0, I don't remember exactly but I think ...
by HDKLog
Wed Nov 21, 2018 9:26 pm
Forum: Bug Reports
Topic: usb_event called not within interrupt handler Topic is solved
Replies: 8
Views: 766

Re: usb_event called not within interrupt handler Topic is solved

Giovanni wrote:Hi,

Moved in "bug reports", I need to verify this.

Giovanni


Hello Giovanni. Did you check this bug? I don't see any tickets related to it on sourceforge in section bugs.
by HDKLog
Tue Nov 06, 2018 4:04 pm
Forum: Bug Reports
Topic: usb_event called not within interrupt handler Topic is solved
Replies: 8
Views: 766

Re: usb_event called not within interrupt handler Topic is solved

I think _usb_reset() in hal_usb.c is the place to look in. It calls _usb_isr_invoke_event_cb(usbp, USB_EVENT_RESET) which then calls usb_event().
by HDKLog
Tue Nov 06, 2018 11:44 am
Forum: Bug Reports
Topic: usb_event called not within interrupt handler Topic is solved
Replies: 8
Views: 766

usb_event called not within interrupt handler Topic is solved

Hello! I'm using USB driver with CDC on board with STM32F103 MCU and it works fine but when I turn on debug checks system halts on chSysLockFromISR() within usb_event() callback function at start when I call usbStart() in main. Is there something wrong? I use ChibiOS version 182 and here is my call ...
by HDKLog
Sat Mar 31, 2018 12:20 am
Forum: General Support
Topic: Running Chibios on custom board with stm32f103 MCU Topic is solved
Replies: 7
Views: 1244

Re: Running Chibios on custom board with stm32f103 MCU Topic is solved

I replaced my MCU to stm32F103 from STLink part of NUCLEO board and there was no difference. Then I started to search problems in manuals and found there description of flash locking issue. After that I decide to check connection with MCU through OpenOCD. I tried to press and hold reset button then ...
by HDKLog
Thu Mar 29, 2018 8:13 pm
Forum: General Support
Topic: Running Chibios on custom board with stm32f103 MCU Topic is solved
Replies: 7
Views: 1244

Re: Running Chibios on custom board with stm32f103 MCU Topic is solved

Thank you for quick reply Giovanni.

I tried to disable all drivers even PAL driver but no results. I have 2 boards and both wont work. I don't know what to check now...
by HDKLog
Thu Mar 29, 2018 7:09 pm
Forum: General Support
Topic: Running Chibios on custom board with stm32f103 MCU Topic is solved
Replies: 7
Views: 1244

Re: Running Chibios on custom board with stm32f103 MCU Topic is solved

I replaced 10 MHz clock on 8 MHz and nothing changed. Board is similar to OLIMEX P103 but without external low speed oscillator, in board settings I have: #define STM32_LSECLK 0 #define STM32_HSECLK 8000000 and in mcuconf.h * * HAL driver system settings. */ #define STM32_NO_INIT FALSE #define STM32...
by HDKLog
Tue Mar 27, 2018 9:01 pm
Forum: General Support
Topic: Q: Status of external EEPROM Support
Replies: 10
Views: 1068

Re: Q: Status of external EEPROM Support

Hello robert_o. You can adapt any Arduino Driver to use in ChibiOS , just change Arduino SPI driver (I2C or whatever Interface) calls to ChibiOS HAL driver calls. EEPROM is volatile memory which will not erase after power cycle. Unlike Flash EEPROM has more small blocks which you can modify (8 bit ,...

Go to advanced search