2010-09-06 11:53 PM
Reset does not always work
2011-05-17 05:05 AM
2011-05-17 05:05 AM
See -
https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM CortexM3 STM32/STM32 Software Reset&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000626BE2B829C32145B9EB5739142DC17E¤tviews=361
2011-05-17 05:05 AM
Then do the Keil equivalent for inline assembly for ''dsb'' instruction.
2011-05-17 05:05 AM
It is not possible.
main.c(152): error: #1113: Inline assembler not permitted when generating Thumb code and when i want to use #pragma arm main.c(151): error: #1114-D: this feature not supported on target architecture/processor It is not possible to use dsb. This is really a ***** hardware bug of the STM32.2011-05-17 05:05 AM
I don't see how this is a hardware bug??
2011-05-17 05:05 AM
I think the uC should make a reset as described in the reference manual, and not only sometimes.
maybe st solved the silicone bug in their libary with the use of the ''dsb'', but i cannot use it.