程序里加了 这几句,烧好程序之后,复位再重新烧程序出现 Warning: Stack pointer is setup to incorrect alignment. Stack addr = 0xAAAAAAAA ;;;;;我用的iar编译器,,有人说是flash加了写保护,我应该怎么解除???
Internal_Flash_Unlock();
Internal_Flash_WP_Disable();
Internal_Flash_Erase_Page(16);
Internal_Flash_Write(0x8008400, u_write, 10);
Internal_Flash_Read(0x8008400, u_write1, 10); |
|