STM32F401RE IAP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-17 3:32 PM
Hi.
I'm developing an application where I have to use IAP.I downloaded IAP example from this site and for F407VG it worked just great.But then problems occured.I need this on STM32F401RE. IAP file is uploaded to stm, everything configured.But when I try to download file from computer (.bin) to STM via USART it says that ''Verification failed''. I'm trying this in hyperterminal v7 and Ymodem protocol.USART is working on IAP, because I got answer from chip and I can successfully press ''1'', which mean ''Download .bin to STM''.What are main differences between this two cips? What I need to modify in program?Thanks for answers #iap #usart #stm32f4- Labels:
-
STM32F4 Series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-17 3:48 PM
What are main differences between this two chips?
Slower internal clocking, and PLL settings. Smaller FLASH, Smaller RAM, No CCMRAM, No Ethernet, One ADCUp vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-18 11:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-18 1:33 PM
Did you disabled the write protection?
A Verification failed (-2) will be thrown when ''An error occurred while writing to Flash memory'' So get your jtag out of the drawer and see whats going wrong when writing to flash.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-18 2:20 PM
Then you'll need to look more closely at implementation details, and the some what sub-optimal Y-Modem example, as the F401 has functional USARTs and FLASH.
Does FLASH_If_Erase() try to erase sectors that don't exist?Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-18 3:12 PM
clive1, flash is not trying to delete sectors that don't exists. I have already changed that, set to max sector number 7 (F401RE with 512kB memory).
I have no idea what's going on.I have changed USART pins, speed, everything. But no, does not work.Any help will be appreciated.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-18 3:36 PM
What board is this on? The Nucleo? It's not 100% pin compatible with the 405/407
Up vote any posts that you find helpful, it shows what's working..
