Skip to main content
Visitor II
January 6, 2020
Question

"Read access out of stm8 address range" error during debugging

  • January 6, 2020
  • 0 replies
  • 595 views

Map file:

BYTES ; The following addresses are 8 bits long

segment byte at 0-ff 'ram0'

WORDS ; The following addresses are 16 bits long

segment byte at 100-1ff 'ram1'

WORDS ; The following addresses are 16 bits long

segment byte at 200-3ff 'stack'

WORDS ; The following addresses are 16 bits long

segment byte at 4000-427F 'eeprom'

WORDS ; The following addresses are 16 bits long

segment byte at 8080-8FFF 'rom'

WORDS ; The following addresses are 16 bits long

segment byte at 8000-807F 'vectit'

Source file:

stm8/

#include "mapping.inc"

   segment 'rom'

.main:

; sample code

CPL A

end

    This topic has been closed for replies.