2011-01-28 1:39 AM
Hello,
I try to debug and simulate the discover project on MDK-ARM evaluation IDE. I have no hardware. So i just want to test debug and simulation. Here below the error message after build and start debug:Running with Code Size Limit: 32K
Load ''C:\\USERS\\MyDev\\STM\\STM32VL-Discovery\\STM32VLDiscovery_Project\\Project\\Demo\\MDK-ARM\\Debug\\DISCOVER.AXF''*** Restricted Version with 32768 Byte Code Size Limit
*** Currently used: 2020 Bytes (6%)BS
file://discover/main/53
, 1 *** error 65: access violation at 0x0000000C : no 'read' permission *** error 65: access violation at 0x00000000 : no 'execute/read' permission Can you help me. Regards RomainTo give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2011-09-12 1:12 PM
good news.
I try to simul discovery exemple after select stm32f103RB device ,it 's ok
so stm32f100rb don't work in simulator.why???
Which version of the software are you using, it is not clear from your posts? Keil's at V4.21 currently, right? And why would one bother with simulation if you have a physical VL-Discovery board in front of you? Simulators are notoriously problematic when it comes to peripherals, and the bulk of C code can be tested independently of hardware, simulated or otherwise. If you have a problem with the Keil software, you'll need to address that with your Keil support representative, ST is not responsible for the uVision IDE and associated tools.
2011-09-13 1:48 AM
Thank you for your help.
I going to ask keil for simulator's problemes. ( I have not receved my discovery board , french post is not very quickly.) thanks .2011-09-13 2:26 AM
Chip stm32100rb peripherals are not supported by Keil software simulator.
See this link:http://www.keil.com/dd/chip/5086.htm
So, yo need effectively to select stm32f103rb for simulate your application and change to 100rb for download and debug session. regardsTo give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2011-09-18 9:23 AM
Unfortunately none of stm32f100xxx software simulation is supported by KEIL. However simulation in IAR works fine.
2011-10-18 6:33 AM
hello,
I had the same problem and now i change to STM32F103RB in place of 100RB for simulation and go back to 100RB for debuging and load. the µvision 4 compiler and debuger has also an other problem, if you want to load the soft in the apllication board you have to pass in debug mode for loading the soft in the board because in editing mode there is no erase and program job. -> with this 2 little problem is this compilateur better that IAR or attolic solution ? what do you think about the best compilator for STM32 device?2011-10-18 8:04 AM
That limitation only appears to be an issue with the ST-LINK driver and the integration thereof. The J-Link and U-Link solutions work just fine in both Debug and Flash->Download scenarios.
Evaluate all the tools and make your own choice. It's mostly a matter of personal taste and familiarity. Consider Rowley.