Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
STM32L4P5: wrong RAM-Size
#1
file: stm32l4.script 

line 99: ram_size = 0x18000 (96k)


but:
STM32L4P/Q5: RAM-Size is 320k
STM32L4R/S5: RAM-Size is 640k

--> debugger can't show upper RAM

ine 99 should be: 
if ( deviceId==471 ) ram_size = 0x5000; else ram_size = 0xa000;

Regards
Reply
#2
I think you missed several '0' s

I will add:
if ( deviceId==471 ) ram_size = 0x50000; else ram_size = 0xa0000;

Thanks!
Reply
#3
Is this working?


Attached Files
.script   stm32l4.script (Size: 4.49 KB / Downloads: 3)
Reply
#4
Yes I missed some '0's.


Script is working with STM32L4P5.
(now debugger shows local variable @ 0x2004ffcf)



The other chips I don't have available to test 'em.

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)