-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
BUILD FAILED WITH TONNES OF ERROR #22
Comments
Hello. Your mcu is not in list. Please add it with correct configuration. |
@sunilkumar105 Hi, My suggestion: Use the last sector(SEC4, 64KB). it is better. you can use others for your code. watch this configuratio. i think it like your mcu. #if defined(STM32F411xE) try with: #if defined(STM32F410xB) and config: |
sir i tried the above configuration, now ee_init(); function is taking me to hardfault i editted #define _EE_ADDR_INUSE (((uint32_t)0x08020000) address to 0x8000000 as the starting address of flash is 0x8000000. It committed data succesfully but read the wrong value and again the same issue, unabgle to program |
@sunilkumar105 sorry. try 0x08010000 |
#if defined(STM32F410xB) and config: |
As per your suggestion u suggested to use #define _EE_ADDR_INUSE (((uint32_t)0x08010000) | (_EE_SIZE*(_EE_USE_FLASH_PAGE_OR_SECTOR - 4))) but _EE_USE_FLASH_PAGE_OR_SECTOR - 4 will always result in 0, hence making (_EE_SIZE*(_EE_USE_FLASH_PAGE_OR_SECTOR - 4))) == 0 so _EE_ADDR_INUSE will always equal to 0x08010000. But we are using sector 4 whouse starting address is 0x08011000 |
yes. i see. use 0x0811000 |
but why? (0X8010000 ) using this address we are pointing to a address of sector 3 and we are defining that we are working with sector 4 whose starting address is 0X8011000 |
Please Try with that and tell me what is happen |
I AM USING STM32F401CCU6
The text was updated successfully, but these errors were encountered: