Merge pull request #9 from TitanMKD/master
LPCXpresso LPC43xx Debugger Tutorial
This commit is contained in:
BIN
doc/LPCXPresso_Flash_Debug_Tutorial.odt
Normal file
BIN
doc/LPCXPresso_Flash_Debug_Tutorial.odt
Normal file
Binary file not shown.
BIN
doc/LPCXPresso_Flash_Debug_Tutorial.pdf
Normal file
BIN
doc/LPCXPresso_Flash_Debug_Tutorial.pdf
Normal file
Binary file not shown.
@ -29,7 +29,8 @@ MEMORY
|
|||||||
/* rom is really the shadow region that points to SPI flash or elsewhere */
|
/* rom is really the shadow region that points to SPI flash or elsewhere */
|
||||||
rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M
|
rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M
|
||||||
ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K
|
ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K
|
||||||
/* there are some additional RAM regions */
|
/* there are some additional RAM regions for data */
|
||||||
|
ram_data (rw) : ORIGIN = 0x10080000, LENGTH = 72K
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Include the common ld script. */
|
/* Include the common ld script. */
|
||||||
|
@ -275,7 +275,7 @@ u32 test_nb_instruction_per_sec(void)
|
|||||||
asm volatile ("nop ");
|
asm volatile ("nop ");
|
||||||
asm volatile ("nop ");
|
asm volatile ("nop ");
|
||||||
asm volatile ("nop ");
|
asm volatile ("nop ");
|
||||||
nb_instructions_per_sec += 100;
|
nb_instructions_per_sec += 108;
|
||||||
|
|
||||||
end = sys_tick_get_time_ms();
|
end = sys_tick_get_time_ms();
|
||||||
tickms = sys_tick_delta_time_ms(start, end);
|
tickms = sys_tick_delta_time_ms(start, end);
|
||||||
|
Reference in New Issue
Block a user