cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103ZG FSMC LCD mode stalls system

Posted on February 04, 2016 at 13:57

Hello everyone,

I want to use a LCD with i80 Interface on my Eval Board MCBSTM32E.

But I am failing to activate the FSMC in i80 mode. The uController stalls every time

i try to Access the Memory area of the LCD. My logic analyser shows me that there is no activity on the Pins of the STM32F103. I am using Keil 5.17 and CubeMX 4.11, also tried SW4STM32 + CubeMX with the same result.

Can anyone give me a hint ?

Best regards,

Markus.
2 REPLIES 2
re.wolff9
Senior
Posted on February 05, 2016 at 10:29

Check with a debugger what happens. You will find that your CPU is throwing an exception because you're doing something wrong. 

Posted on February 08, 2016 at 13:43

I am using Keil 32k, which has limited Debugging capabilities.

SW3STM32 Debugging is at the Moment a mystery to me, i have no experience with

Eclipse Tools and Debugging (most of my time used it for Java, not C).

I can use ST-Link, J-Link or U-Link as a debugging Hardware.

Debugging with the Cortex-M0 license from ST for Keil worked fine with my Nucleo Boards, but switching to the M3 STM32F103 and Keil 32k took away my Debugging capabilities. My hope was that somebody is using the same Hardware and spots with my attached files my mistake. 99% of my code was generated by CubeMX, my best guess at the Moment is, that there is a missing Parameter in Cube or something like this ..