Skip to content

Commit

Permalink
Fix memory config for STM32F4
Browse files Browse the repository at this point in the history
The previous memory map didn't allow to debug the whole flash
memory. A new configuration has been added and should be
used while working with the STM32F4Discovery.
  • Loading branch information
vmayoral committed Sep 29, 2014
1 parent 3e1ce9e commit bf32eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdbserver/gdb-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ static const char* const memory_map_template_F4 =
" <memory type=\"flash\" start=\"0x08010000\" length=\"0x10000\">" //Sector 4
" <property name=\"blocksize\">0x10000</property>" //64kB
" </memory>"
" <memory type=\"flash\" start=\"0x08020000\" length=\"0x70000\">" //Sectors 5..11
" <memory type=\"flash\" start=\"0x08020000\" length=\"0x100000\">" //Sectors 5..11
" <property name=\"blocksize\">0x20000</property>" //128kB
" </memory>"
" <memory type=\"ram\" start=\"0x40000000\" length=\"0x1fffffff\"/>" // peripheral regs
Expand Down

0 comments on commit bf32eb3

Please sign in to comment.