Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2024, 09:33:38 09:33


Login with username, password and session length


Pages: 1 [2]  All
Print
Author Topic: PEAK PCAN CAN USB adapter - DIY  (Read 20959 times)
0 Members and 2 Guests are viewing this topic.
digitalmg
Junior Member
**
Offline Offline

Posts: 97

Thank You
-Given: 139
-Receive: 110


« Reply #25 on: December 02, 2023, 09:14:26 09:14 »

You can transform st-link in j-link  https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/
But I haven't used any stm32 "clone", I don't know for sure if it will work for Geehy APM32F407VGT6, but you can test.
Logged
Wizpic
Global Moderator
Hero Member
*****
Offline Offline

Posts: 1203

Thank You
-Given: 553
-Receive: 409



« Reply #26 on: December 02, 2023, 11:06:04 11:06 »

You can transform st-link in j-link  https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/
But I haven't used any stm32 "clone", I don't know for sure if it will work for Geehy APM32F407VGT6, but you can test.
I've just tried that and it reports no J-Link or ST-lik connected even though it is and I've pulled high the BT0 pin
That's the problem I've tried STM32 Cube and ST-Link software but both report NO ST-LINK detected on ST-LINK and no DFU on ST-Cube, Not sure if a boot loader is installed on these boards.

This the link I clicked on the wrong one and not did not notice
https://www.ebay.co.uk/itm/155813582240?hash=item24473695a0:g:J5QAAOSwMSRlH6uH&amdata=enc%3AAQAIAAAA4IKMLNJULr82n%2FIM3Gra5lFas6AWvjNkcBYr37spjk87o4HxooZbVSzAMfVTJRDRQKN8pdgDvgRUbtPiU%2FXUludle1%2FfBLOsm8mzaJ%2FHNOiUWTRTzVxn826c0NpeWx2ZOS38FDj9jywJv%2BW8hX2S3c76bfu1CRbVbr%2B6Qd3B6mjmfdCA0DPvl%2BbstSRNskEdICQtZSt8kH%2B%2F7Lqio9z4v4tcJfSir6AQLG98cOKm6x4BkIPr5w%2B6mwbQw12QissgEJmKrXw4aq%2FDyw4iQaD9al7IA2JpF%2FknhHhXtLmEr92X%7Ctkp%3ABFBMupSJo4Vj

UPDATE: I've found what can upload program to it just carrying out some testing, Lets see how it goes

 found it here
https://global.geehy.com/support/apm32/?id=383

 
« Last Edit: December 02, 2023, 11:46:52 11:46 by Wizpic » Logged

When you think, "I can't do anymore. I need a break," that is the time to challenge yourself to keep going another five minutes. Those who persevere for even an extra five minutes will win in life..
digitalmg
Junior Member
**
Offline Offline

Posts: 97

Thank You
-Given: 139
-Receive: 110


« Reply #27 on: December 02, 2023, 11:56:08 11:56 »

You cannot use the programs from ST, you must use the software from Geehy.Geehy DFU Programmer is used for DFU upgrade of APM32 series MCU.
https://www.geehy.com/uploads/tool/AN1081_APM32F4xx_Quick%20Start%20Guide.pdf
After you have converted a st-link to a j-link, for example from a Nucleo development board from ST, you will use the j-flash software from Segger to program the mcu, not the software from ST. You will need to  connect the boards to be able to program.

Update: Yes, use tools from Geehy.
« Last Edit: December 02, 2023, 11:59:08 11:59 by digitalmg » Logged
Wizpic
Global Moderator
Hero Member
*****
Offline Offline

Posts: 1203

Thank You
-Given: 553
-Receive: 409



« Reply #28 on: December 02, 2023, 04:05:07 16:05 »

I've tested tested with 2 units one connected to can hacker (transmitter) and the other one connected to P-Can view (receiver)  and played back some data that I've recorded.

And I can confirm it and it all works perfectly  Grin
Logged

When you think, "I can't do anymore. I need a break," that is the time to challenge yourself to keep going another five minutes. Those who persevere for even an extra five minutes will win in life..
anotherandrew
Junior Member
**
Offline Offline

Posts: 94

Thank You
-Given: 766
-Receive: 23


« Reply #29 on: December 05, 2023, 05:52:22 05:52 »

if you are referring to F405/F407, the following devices (despite different naming) are using the same chip DIE so they are equivalent:

...

the same is for the F042 variant: the following chips mount the same chip DIE:

Am curious - where do you find which die is for which chip?
Logged
digitalmg
Junior Member
**
Offline Offline

Posts: 97

Thank You
-Given: 139
-Receive: 110


« Reply #30 on: December 05, 2023, 10:41:41 10:41 »

Very simple, in CubeMx create a new project depending on the MCU, and then select the family series,
for example STM32F4,you order them by frequency, and those that have the same frequency have the same pattern.
Or you can find it in the attached file.
Logged
wild
Active Member
***
Offline Offline

Posts: 180

Thank You
-Given: 606
-Receive: 452



« Reply #31 on: December 05, 2023, 12:45:25 12:45 »

as I first wrote:

Please also take a look to the following link (use google translate):
https://www.mikrocontroller.net/topic/459746?_x_tr_sl=de&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp&_x_tr_hist=true
here is the list generated: same DIE for several different CPUs!!!
see attachment.

Attached to the post there is an updated list of DIEs/CPUs directly extracted from the ST official files with the following command:
Code:
The source files are now in ./db/mcu and I created the file with:

grep -o "DIE..." STM* | sed -e "s/\(.*\).xml:\(DIE.*\)/\2  \1/" | sort
« Last Edit: December 05, 2023, 12:51:21 12:51 by wild » Logged
Pages: 1 [2]  All
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC