Olimex Support Forum

ARM => ST => Topic started by: littlemars on November 29, 2012, 07:30:38 PM

Title: STM32-P407 sample project
Post by: littlemars on November 29, 2012, 07:30:38 PM
I am trying to make working the demo provided for the STM32-P407, but without succeeding.
I am using IAR, the ARM-USB-TINY-H JTAG, and the sample code downloaded from the webpage of the STM32-P407 board.

The main issue is that I am not able to download or run such code on the board.
I have noticed that this example is for the P207 board.
Do I need to modify something in order to make it running on the P407?
Also the configuration file for the debugger that is provided is for STM32F2, not for the STM32F4.
Is it OK?
Tnx for the help.
Title: Re: STM32-P407 sample project
Post by: maria_olimex on November 30, 2012, 08:27:17 AM
Hello littlemars,

The chips on P207 and P407 are absolutely identical except for the clock speed which is why we use the same code for both.

I suspect your problem is in the project options - you should go and specify the 407 chip instead of the 207 one - they may be alike, but the IDE still treats them as different.

Best Regards,
Maria/OLIMEX
Title: Re: STM32-P407 sample project
Post by: f3434 on January 16, 2013, 08:28:56 PM
Working example code for STM32-P407
There are some useful functions for LCD in it. Console text box for example.
link: http://yadi.sk/d/Dx_I7_vw1ufQy (http://yadi.sk/d/Dx_I7_vw1ufQy)
Title: Re: STM32-P407 sample project
Post by: f3434 on January 26, 2013, 09:38:14 PM
Working example code for STM32-P407.

1 example - simple LCD with some functions: fill rect, print text, console.
2 example - HID Joystick. Library STM32_USB-Host-Device_Lib_V2.1.0 is connected.

in projects only configuration Debug was adjusted for debugging in memory (VECT_TAB_SRAM).

link:  http://yadi.sk/d/oa2GqIr828QFA (http://yadi.sk/d/oa2GqIr828QFA)