March 29, 2024, 03:01:02 PM

STM32-P407 sample project

Started by littlemars, November 29, 2012, 07:30:38 PM

Previous topic - Next topic

littlemars

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.

maria_olimex

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
Software developer at Olimex

f3434

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

f3434

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