f8kgl / swr_power_meter

Repo of Swr Power Meter project of F8KGL
1 stars 1 forks source link

Dans GPSIM, la valeur de TMR0 n'est pas correct si on ne fait pas du pas à pas #281

Closed f4bjh closed 4 years ago

f4bjh commented 4 years ago

En pas à pas **gpsim> dump e 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 0000: 56 30 2e 38 00 28 00 00 00 00 00 00 00 00 00 00 V0.8.(.......... 0010: 10 54 45 53 56 30 2e 38 20 1c 00 ff ff ff ff ff .TESV0.8 ....... 0020: 40 0b ff ff ff ff ff ff 00 00 00 00 00 00 00 00 @..............

Sans breakpoint (execution totale du code jusqu'au menu mesure) : 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 0000: 56 30 2e 38 00 28 00 00 00 00 00 00 00 00 00 00 V0.8.(.......... 0010: 10 54 45 53 56 30 2e 38 20 1c 00 ff ff ff ff ff .TESV0.8 ....... 0020: 40 fa ff ff ff ff ff ff 00 00 00 00 00 00 00 00 @...............

c'est à dire que sans breakpoint, TMR0L = 0!!!

f4bjh commented 4 years ago

faire un petit fw de test dans une branche parallèle, et poser la question à la miling list de gpsim

f4bjh commented 4 years ago

209

f4bjh commented 4 years ago

il y a des tests de non regression visiblement :

gpsim-0.31.0/regression/tmr0_16bit/tmr0_16bit.asm