Search found 15 matches

by AmperCZ
Fri Jun 19, 2020 8:21 pm
Forum: STM32 Support
Topic: I2C breaks due debug restart
Replies: 4
Views: 2128

Re: I2C breaks due debug restart

confirmed - powered hub and all 3 usbs from this hub helped
by AmperCZ
Fri Jun 19, 2020 8:01 pm
Forum: STM32 Support
Topic: I2C breaks due debug restart
Replies: 4
Views: 2128

Re: I2C breaks due debug restart

Update - now I believe it is because of some ground issue. I have board powered from USB, I2C devices are powered from USB 5V on that board. STLinkV2 is powered from another USB everything works but as soon as I connect ftdi or esp8266 powered by third USB (and connected to board by tx/rx/ground) it...
by AmperCZ
Thu Jun 18, 2020 5:48 pm
Forum: STM32 Support
Topic: I2C breaks due debug restart
Replies: 4
Views: 2128

I2C breaks due debug restart

Is there some way how to stop program by debugger in state that will not break i2c ? Or is there some way how to "reset" bus ? I have two 6050 on I2CD2 (STM32F407) on wires (STD/100kH) and also at24c08 memory on I2C1 directly on pcb (FAST/400) Problem with 6050 could be fixed by power cycl...
by AmperCZ
Tue Jun 02, 2020 7:24 pm
Forum: General Support
Topic: More small threads or few bigger ones ?
Replies: 3
Views: 1995

Re: More small threads or few bigger ones ?

thanks, I will keep it as it is because it is much easier to read and manage
by AmperCZ
Tue Jun 02, 2020 5:10 pm
Forum: General Support
Topic: More small threads or few bigger ones ?
Replies: 3
Views: 1995

More small threads or few bigger ones ?

What is recommended use of threads (STM32F407) ? In robot, I have one IMU thread reading data from two 6050 over I2C on Prio+2. There is about 3-4ms delay between reads (about 200Hz update from DMP on 6050s) But now considering how to deal with other stuff - pwm stuff, some calculations, adc sensing...
by AmperCZ
Tue May 19, 2020 8:33 am
Forum: ChibiStudio
Topic: New Studio - Syntax error in IDE on working code
Replies: 8
Views: 5439

Re: New Studio - Syntax error in IDE on working code

ok, so I used fresh Chibistudio and imported project into User workspace and problem is fixed.

Maybe something with update or messed by me.

Thanks for help
by AmperCZ
Mon May 18, 2020 10:23 pm
Forum: ChibiStudio
Topic: New Studio - Syntax error in IDE on working code
Replies: 8
Views: 5439

Re: New Studio - Syntax error in IDE on working code

yes, without change :-(
by AmperCZ
Mon May 18, 2020 7:03 pm
Forum: ChibiStudio
Topic: New Studio - Syntax error in IDE on working code
Replies: 8
Views: 5439

Re: New Studio - Syntax error in IDE on working code

copy g++ fixed one error (but second stays). I tried to expand Index resettings, tried couple of others settings in IDE and not help. I moved my working code out to simple function so I am 100% sure that it is not made by code inside of thread macro. GCC is 9 https://i.ibb.co/ynmn2BD/eclipse.png
by AmperCZ
Mon May 04, 2020 6:12 pm
Forum: ChibiStudio
Topic: New Studio - Syntax error in IDE on working code
Replies: 8
Views: 5439

New Studio - Syntax error in IDE on working code

Solving one issue with latest Studio, GCC7 or 9 and Chibios 2.0.3 I can compile and run program without issues, I can breakpoint. Chibios debug view doesn't but all thread code like static THD_WORKING_AREA(AdcThreadWorkingArea, 128); or static THD_FUNCTION(AdcThread, arg) { } have mark as Syntax err...
by AmperCZ
Wed Mar 18, 2020 12:46 pm
Forum: STM32 Support
Topic: Another CDC/USB issue - 407ZGT6 minimum board
Replies: 12
Views: 5624

Re: Another CDC/USB issue - 407ZGT6 minimum board

Updated to 20.3 and situation is same - LSE activation breaks USB CDC

Go to advanced search