Olimex Support Forum

ARM => ST => Topic started by: str4nger on February 16, 2013, 04:48:59 PM

Title: Olimex STM32 LCD - Dead?
Post by: str4nger on February 16, 2013, 04:48:59 PM
Hello,

i use my Olimex STM32 LCD to test my generated code from matlab/simulink RapidSTM32 Blockset. (https://www.aimagin.com/learn/index.php/Learn_RapidSTM32_Home for further information)

Befor i can generate code with simulink, i have to setup µc cpu type. And here i have made a hard mistake. Instead of the STM32F103ZE, i have choosen the STM32103RE CPU.
After i have generated the code, i flashed it successfull via Keil uvision + STLink/V2  Debugger.

But now, my STLink Debugger doesnt't reckognize the Olimex STM32 LCD board anymore. I think, because of choosing an incorrect cpu, i have overwritten something very important :). The board works (quarz is oscillating), but it isnt possible to flash it via jtag anymore.

Does anyone have an idea what could be the problem?
Maybe i have overwritten the bootloader? How to restore the bootloader?

Thank you!!!!


Kind Regards,
Rainer
Title: Re: Olimex STM32 LCD - Dead?
Post by: LubOlimex on February 21, 2013, 10:22:18 AM
Hello Rainer,

It is possible to overwrite the JTAG signals, though most of the debuggers would try seize them.

Did you try the SWD interface instead of the JTAG one? Try also the different connect options with your debugger: http://www.keil.com/support/man/docs/ulink2/ulink2_ctx_debug.htm (http://www.keil.com/support/man/docs/ulink2/ulink2_ctx_debug.htm)

Best regards,
Lub/OLIMEX
Title: Re: Olimex STM32 LCD - Dead?
Post by: usernaME on June 05, 2013, 03:40:41 PM
Hi, I have one question - is possible to change TFT_LCD from STM32-LCD (board from 2009 - older type of ILI display) to STM32-LCD (board from 2012 - newer type of TFT_LCD)? Thx for reply :-)
Title: Re: Olimex STM32 LCD - Dead?
Post by: LubOlimex on June 05, 2013, 04:15:53 PM
The difference between the two displays is very small. The new STM32-LCD uses the newer ILI9325, opposed to the older ILI9320. The driver datasheets might be found here:
https://www.olimex.com/Products/ARM/ST/STM32-LCD/resources/ILI9325_new_displays.pdf (https://www.olimex.com/Products/ARM/ST/STM32-LCD/resources/ILI9325_new_displays.pdf)
https://www.olimex.com/Products/ARM/ST/STM32-LCD/resources/FS-K320QVB-V1-01-3T.pdf (https://www.olimex.com/Products/ARM/ST/STM32-LCD/resources/FS-K320QVB-V1-01-3T.pdf)

There are no hardware differences but you can see the software difference in the code by searching in modules/lcd-320x240.c for text "SPP" - every place marked with "SPP".

Best regards,
Lub/OLIMEX
Title: Re: Olimex STM32 LCD - Dead?
Post by: usernaME on June 05, 2013, 04:59:21 PM
Thank you very much :-)