-
Notifications
You must be signed in to change notification settings - Fork 988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for stm32f072cb as new HIC #789
Add support for stm32f072cb as new HIC #789
Conversation
Add STM32F072CB as new HIC
This is our own design. Unfortunately, I don't have access to any other F072 based boards... I can share the relevant schematic page, if it makes sense. |
@mbrossard :It seems that IO configuration #674 from @dotnfc is based on JLINK OB stm32f072. |
Yes, sure. the IO configuration from #674 is based on the JLINK-OB F072. |
hi @shiva-pandit, we (@BibyThm, @Ashleyvk and me) were trying to add a new HIC which uses STM32F373CC. While we had followed mostly the #257 for our work we have not been able to connect the HIC PCB we have to our WIN 10 PC and get it enumerated yet as we noted here - #768. After trying out few things which are listed below
Now we are thinking we may have got it wrong with the usbd_STM32F373.c we created. It would be very helpful if you can let us know how the file is generated like in your case this one - source/hic_hal/stm32/stm32f072cb/usbd_STM32F072.c. We are not able to see such a file name in our STM32Cube IDE or MX generated files. We merely copied over the https://github.com/ARMmbed/DAPLink/blob/master/source/hic_hal/stm32/stm32f103xb/usbd_STM32F103.c to our new stm32f373xc folder and renamed the file to usbd_STM32F373.c @brianesquilona @flit @mbrossard @dotnfc your inputs if any would also be greatly appreciated. |
@shiva-pandit: it seems the I/O configuration suggested by @dotnfc is popular so I think it would be better to have it as the default. Could you update I am getting a 32F072BDISCOVERY to test this. |
I looked at the different pinouts and the situation is a little bit more complicated because this version uses two pins for SWDIO. If you are still interested in this work, I can work with you (in mbrossard/DAPLink:feature/stm32f072cb_hic) on modifying |
@mathias-arm we can close this PR. support for discovery board should be good enough. thanks. |
Thank you. |
Here is an attempt to add support for
stm32f072cb
as new HIC. Please review and let me know if I missed anything.Tested all basic HIC operations on our custom board. Binaries were built using
gcc
toolchain -gnu-arm-embedded/gcc-arm-none-eabi-9-2020-q2-update
. Have not tested any other toolchain.daplink_if
firmware using thedfu-util
.openocd/gdb
combo.Some of this work is based off of this old PR: #674