EmBitz
STM32L4P5: wrong RAM-Size - Printable Version

+- EmBitz (https://www.embitz.org/forum)
+-- Forum: EBlink (https://www.embitz.org/forum/forum-3.html)
+--- Forum: Bug report (https://www.embitz.org/forum/forum-9.html)
+--- Thread: STM32L4P5: wrong RAM-Size (/thread-201.html)



STM32L4P5: wrong RAM-Size - RoMan - 17-07-2024

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


RE: STM32L4P5: wrong RAM-Size - embitz - 19-07-2024

I think you missed several '0' s

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

Thanks!


RE: STM32L4P5: wrong RAM-Size - embitz - 19-07-2024

Is this working?


RE: STM32L4P5: wrong RAM-Size - RoMan - 22-07-2024

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.