H,
I'm currently writing a bootloader for the concerto f28m36x device but I ran into a serious problem today:
first of all a short description of the features of the bootloader:
- the bootloader is currently running SYSBIOS (to utilize debug messages which are printed directly into the CCS console)
- the bootloader can parse an Intel-hex format hex-file and flash this into the memory of the m3 core.
- the hex-file of the application demo program is generated by the built-in ARM HEX utility of CCS
Problem description: the data which is in the intel-hex file is not the same as the data which is programmed by the debugger probe (via JTAG)
upper picture is flashed by parser.
upper picture is flashed by debug probe via JTAG.
only the first byte is the same in index 0 and index 4 where in each case began a new line of the hex file. For comparing I attach the hex file below but I don't have a clue why the data in the HEX file is not the same as from the debugging probe.
:020000040021D9 :0200400001704D :20005000B90008010049207030007081CC114F2523C903C01B820840C403000D01210104F4 :2000D00081110170D34F11B95584AD220121C001B929001000001001210604A821A220805D :200150000000054000F908802A20800000054000F908801420000000054000F9080013703C :2001D0000AA5C9541CC030200A7013A5BF5421C0308113B8520AC0090000707C4F0B0323E4 :200250000604A81870724F1101210604A82170684F0B03230604A818705E4F110121060411 :2002D000A8217013A58908000340087083FE8340202B20207A00780A0070302D07D04F8192 :20035000002003251C402001020000400C01083901200307864800F0012400940001A8BC31 :2003D000C4C82D0F1300A5DC0085FFA0CAB51400030100804010010C802061C820030785A1 :20045000CC0007FF2CC1D3B72000DA2040CB4F06870F63D831010000072801024F06870FA9 :2004D0004740C800BDD94F1050210170D0E4F8600C04102D0C000000000000B1097F054003 :2005500001A964060802017C000197014F017F03402E0002000117147F0510640840051094 :2005D000611008030176BB10063862080D4F002880FF67FF48283D28FF5900DE40BA1940DE :20065000BA068080BB0B51B50A4FFF054000A708022263519B0001F8502D062FA5000000EF :2006D00000064034D8048A04810606FF0E08020606FF40FF06FF2FF0464F10000306004323 :20075000CA00430210560018010100C0080C80090318117F48C14949490000045000AD010C :2007D000494949C080400F03030200800AA59F2018700AA599401870064F0B1C08181080E5 :20085000700EA58B2CFF132B70874F108120400838400804137B4F0818060A0004701DA56B :2008D000720002A20A3F22220A40400404096302B2062201D0C008060F540402A200FA40A7 :200950000870011F4D40090241474F020080014100003E01017000390002840000700AA52E :2009D000400118702C4F08DF401808254F119C0040402315101B4F109C044008100537A540 :200A5000146F2840110A7B054020F8500C10606C0080202408C0C820498181B04180B03759 :200AD000802440B02580B01BC82580B01B80B01180B007804F100E0C0A08060402007003C8 :200B5000000200C092D011D022C0700101D0D00302004F000853D00BD08B0803040204C0D2 :200BD000D2D011D022C0700101D0D0D00C020001002C00130853D00BD08B0C03100210C0EE :200C500013D00BD08B1CD0220228C0700101D0D0D00D0200010035001C087010C070100137 :200CD000101118D0701C10FF0400208510D10020395070211002102179100006216F100129 :200D5000FC21651001F2215B10085521CCFF100CFFFFFF01D41002CE21371002C4212D00DF :200DD000001002B6211F1002AC2115001002A021090010009421FD10028A21F398CC340120 :200E5000000C520301530703D3A28130D3A208302C0CA18AC39801D01134D022C0702400D6 :200ED0000803F60AC3D39024C3080AFF50C3D30224C3086CB04BFE00C0080008A390089FF3 :200F50000A00709B1C0B96982424961A209342708E5309088A01E0088B2002087087541342 :200FD0000303EDA9938020707C520003C8FF78352E270F102F304F505009002101001B0174 :201050000208A101020D4008080003400859362F280F102F304F5050840022010208107C9A :2010D0000014F421010880082008088070020E0F102F3501082201020830020829010208EF :2011500008800840080800700E0F1D011301081D0102083080000F0102080800034008088B :2011D000000029000C3804240404C286C1C0860A70000B38701F0E00B604202020206DB062 :20125000408100A0002015388404B1118911110018C11002010181FC21C10201C11070210A :2012D000C12141010106702101C1806E01087021010240010340401A7000704008024001AC :2013500000400210010010808000704001018102FF0081FC7092000170920119410221C125 :2013D00080C01082152C010A823129010004FF20FB1081151D010A81311A010004FF209B8B :20145000828182017000C0418281820170007041FE0000000080018101704181810270C0F8 :2014D00070C07000010101004008FF228308FF223981017040000170188018D021C0705146 :201550001E4F08FF1C33FEFF1A65FF19FF18FF01E1204415DCFF20FF0200FE4173740D8004 :2015D0000F01101D1D000000B1005F8B831070781070382C05240808082A22034022F714AA :20165000D8120343120A034383C312120B495260000A71030000B210F60811410441080E8D :2016D000080D0F0F101218121804022012187113B001651110110CC7040121047F0AA5021A :2017500004A5B0FFD8E400F000002D05010EB8050B0915400401020139226F010101F9013F :2017D000E90100D4F0F80F7317003290520B55030890FF73A4E5D8E40008FB380980201000 :2018500028208000FF38B0B8B40B0B6F87090771013B33FFFEB000C01001FF01FF06FFC11E :2018D000FF2049F3003805150256F80004FF0008FFFF03700970B4D0C3195D1070701070D9 :091950007003009D4070FF30019E :1419780018035E0000502400190000C838006A0000B07C00BF :0E19C8000121210153672D000058C8B0E8002E :201A0000B0415F0BE3E3E300000000E3E300E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E306 :201A8000E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E6 :201B0000E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E365 :0C1B8000E3E3E3E3E3E3E3E3E3E3E3E3B5 :201BB000000000000000000000000000000000000000000000000000000000000000000015 :201C3000000000181C200004080C1014181C2024282C3034383C4044484C5054585C1014CC :1F1CB0001C24084044484C080004080C081014181C082024282C0800000000000000008D :00000001FF
The demo application sends just some test string via the RS232