diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-03-21 14:19:01 +0100 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-03-21 14:19:01 +0100 |
commit | 3beecbc4fa60773ffbdf04ce1908a86be5908551 (patch) | |
tree | 3a470e3e86662804a090141d8843c46ce8620191 /controller/fw/src/mspdebug_wrapper.h | |
parent | 37338e2ad8ca226119121432b65f6c61134e60ac (diff) | |
download | master-thesis-3beecbc4fa60773ffbdf04ce1908a86be5908551.tar.gz master-thesis-3beecbc4fa60773ffbdf04ce1908a86be5908551.tar.bz2 master-thesis-3beecbc4fa60773ffbdf04ce1908a86be5908551.zip |
Basic JTAG working
Diffstat (limited to 'controller/fw/src/mspdebug_wrapper.h')
-rw-r--r-- | controller/fw/src/mspdebug_wrapper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/controller/fw/src/mspdebug_wrapper.h b/controller/fw/src/mspdebug_wrapper.h index 245d9fb..c3f5ac7 100644 --- a/controller/fw/src/mspdebug_wrapper.h +++ b/controller/fw/src/mspdebug_wrapper.h @@ -1,6 +1,7 @@ #ifndef __MSPDEBUG_WRAPPER_H__ #define __MSPDEBUG_WRAPPER_H__ -int flash_and_reset(size_t img_start, size_t img_len, ssize_t (*read_block)(int addr, size_t len, uint8_t *out)); +void mspd_jtag_init(void); +int mspd_jtag_flash_and_reset(size_t img_start, size_t img_len, ssize_t (*read_block)(void *usr, int addr, size_t len, uint8_t *out), void *usr); #endif /* __MSPDEBUG_WRAPPER_H__ */ |