Search found 10 matches

by didier9
Sat Mar 30, 2019 4:35 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: Error: Could not verify ST device
Replies: 13
Views: 3508

Re: Error: Could not verify ST device

Here is the chip in the clone STLink2 bought from AliExpress:
STLink2 chip.jpg


Here is the chip on the BluePill board also bought from AliExpress:
BluePill clone processor.jpg
by didier9
Sat Mar 30, 2019 4:23 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: Error: Could not verify ST device
Replies: 13
Views: 3508

Re: Error: Could not verify ST device

I think the problem is with the cheap STLink clone because the debugger works fine with the same Bluepill when using an official STLink2 bought directly from the ST web site, even though the chip on the Blue Pill is not an ST part (it has a CKS marking). My understanding is that the cheap STLink clo...
by didier9
Mon Jan 14, 2019 1:39 am
Forum: Atollic TrueSTUDIO tool discussions
Topic: using (s)printf with float / double
Replies: 8
Views: 8547

Re: using (s)printf with float / double

Have you debugged your code through the call (using the ST-LINK debug head) to make sure it is fed the right value?
If you get 0.0000 that means the library includes the code (unlike the nano library which returns an empty string), so it should work if it is fed the right values.
by didier9
Thu Jan 10, 2019 1:44 am
Forum: Embedded target code development discussions
Topic: I2C clock stays low after sending address (scope picture included)[solved]
Replies: 1
Views: 387

Re: I2C clock stays low after sending address (scope picture included)

Found the issue... It turns out the driver actually hangs until a slave acknowledges. That was unexpected. I looked at the code more closely and indeed the i2c_address_direction() function call waits for an acknowledgment. I modified the function as shown below and now it properly exits with an erro...
by didier9
Thu Jan 10, 2019 1:00 am
Forum: Embedded target code development discussions
Topic: I2C clock stays low after sending address (scope picture included)[solved]
Replies: 1
Views: 387

I2C clock stays low after sending address (scope picture included)[solved]

I am running this simple example below from Erwin Ouyang Simply import it into a new CMSIS project. It compiled immediately with no error (which was encouraging). The example originally included a 2x16 LCD but I am not using it so I stripped the code to the bare minimum just to check the I2C. The pr...
by didier9
Sat Jan 05, 2019 7:29 pm
Forum: Embedded target code development discussions
Topic: Newbie Bluepill Blinking sample code
Replies: 5
Views: 1130

Re: Newbie Bluepill Blinking sample code

I just uploaded a small Bluepill project there:
https://forum.atollic.com/viewtopic.php?f=6&t=1652
Good luck!
by didier9
Sat Jan 05, 2019 7:18 pm
Forum: TrueSTUDIO for STM32 discussions
Topic: Blinky with timer for BluePill and ST-LINK V2 [WORKING]
Replies: 1
Views: 735

Re: Blinky with timer for BluePill and ST-LINK V2 [WORKING]

I now remember that you are not supposed to copy files directly into the Eclipse workspace. I wrote this little reminder a while back, I have not tried with with Atollic but it worked with LPCXpresso (the NXP version of Eclipse). Use at your own risk: /* Eclipse workspace backup/restore procedure: *...
by didier9
Sat Jan 05, 2019 7:07 pm
Forum: TrueSTUDIO for STM32 discussions
Topic: Blinky with timer for BluePill and ST-LINK V2 [WORKING]
Replies: 1
Views: 735

Blinky with timer for BluePill and ST-LINK V2 [WORKING]

After quite a bit of frustration setting up the Atollic tool with my Bluepill, I have finally reached partial success. I have created a standalone blinky project with SysTick based timer under the Atollic tools version 9.2.0 (installed a couple of weeks ago). I can load the project to the Bluepill u...
by didier9
Sat Jan 05, 2019 2:49 am
Forum: Atollic TrueSTUDIO tool discussions
Topic: Error: Could not verify ST device
Replies: 13
Views: 3508

Re: Error: Could not verify ST device

I want to add that after upgrading the ST-LINK with the ST tool, the debug head still works with the Arduino IDE.
by didier9
Sat Jan 05, 2019 2:00 am
Forum: Atollic TrueSTUDIO tool discussions
Topic: Error: Could not verify ST device
Replies: 13
Views: 3508

Error: Could not verify ST device

I am a new ST/Atollic user, lots of experience with other tools including Eclipse on ARM (NXP) and Keil on 8051. The target is an STM32F103C8T6 on a BluePill board. I am using an eBay debug head marked ST-LINK V2 which works with the Arduino IDE and the same target. I have installed the Atollic tool...

Go to advanced search