Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
bdmtrionic.h
- Committer:
- Just4pLeisure
- Date:
- 2013-09-11
- Revision:
- 4:682d96ff6d79
- Parent:
- 1:d5452e398b76
- Child:
- 5:1775b4b13232
File content as of revision 4:682d96ff6d79:
/******************************************************************************* bdmtrionic.cpp (c) 2010 by Sophie Dexter A derivative work based on: //----------------------------------------------------------------------------- // CAN/BDM adapter firmware // (C) Janis Silins, 2010 // $id$ //----------------------------------------------------------------------------- ******************************************************************************** WARNING: Use at your own risk, sadly this software comes with no guarantees. This software is provided 'free' and in good faith, but the author does not accept liability for any damage arising from its use. *******************************************************************************/ #ifndef __BDMTRIONIC_H__ #define __BDMTRIONIC_H__ #include "mbed.h" #include "common.h" #include "bdmcpu32.h" // global variables static bool verify_flash = 1; // public functions uint8_t dump_flash(const uint32_t* start_addr, const uint32_t* end_addr); uint8_t erase_flash(const char* flash_type, const uint32_t* start_addr, const uint32_t* end_addr); uint8_t write_flash(const char* flash_type, const uint32_t* start_addr); uint8_t prep_t5_do(void); uint8_t prep_t8_do(void); uint8_t dump_trionic(void); uint8_t flash_trionic(void); #endif //----------------------------------------------------------------------------- // EOF //-----------------------------------------------------------------------------