From e9406132dc89cf163a0b8cd71604cc4ee8209ef2 Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Tue, 12 Jan 2010 23:51:37 +0100 Subject: tools/trace: fix flash commands --- tools/trace/tinter/thost.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/trace/tinter/thost.py b/tools/trace/tinter/thost.py index 346b5bca..1f10478a 100644 --- a/tools/trace/tinter/thost.py +++ b/tools/trace/tinter/thost.py @@ -10,7 +10,10 @@ FLASH_MEMORY_HIGH = 0x1fffff FLASH_PAGE = 0x80000 FLASH_BUFFER_SIZE = 16 FLASH_CMD_INIT = 0 -FLASH_CMD_READ = 1 +FLASH_CMD_READ_BYTE = 1 +FLASH_CMD_WRITE_BYTE = 2 +FLASH_CMD_READ = 3 +FLASH_CMD_WRITE = 4 def flash_memory_addr (val): return (val & FLASH_MEMORY_HIGH) -- cgit v1.2.3