Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - FAQ - Zum CC1-Forum - Zum CC-Pro-Forum

Re: Problems download hex file Kategorie: Progr. Assembler, TaskingTools, OS (von André H. - 22.09.2006 23:15)
Als Antwort auf Problems download hex file von Bram - 22.09.2006 22:40
Ich nutze:
C-Control II Unit, C164CI-ControllerBoard, CC2-Application-Board, CC2-StarterBoard, CC2-ReglerBoard, OSOPT V3.0, OSOPT V3.1
Hallo Bram,

> I will loading this hex file in sector 3.
>
> This file is generated in Keil uVision en renamed to a  ??hex?  extension.
>
> It didn??t works with the C-Control Download  V2.2 and give the message ?? invalid file ??
>
> Is there a solution?

To load a HEX file to a specific segment, you have to compile your code
for the destination segment.
Your code ist compiled for segment 0.

The CC2Net-Download-Tool checks the file header.
Valid Headers are:
:020000040001F9 for Segment 1
:020000040002F8 for Segment 2
:020000040003F7 for Segment 3

In don't work with Keil, so I can't help you to find the right settings there.
But there must be something like
userseg              SECTION CODE word at 30000h
when programming with Tasking Tools in Assembler.

Also you have to set the output format to "Intel Hex".

Perhaps, your problem will be solved, if you replace the header.

regards,
André H.

>
> :020000020000FC
> :1000FC000A863F2E1A8600D21A8960FB0A896F0481
> :10010C00E60ACCFBE6000000E6010100E602030073
> :10011C00E60800FCE6D78100A758A7A7B54AB5B5F5
> :10012C00E6F020A0E6F90000E6F80C00F0187019D3
> :10013C002D2FA758A7A7E005DC0998282D29F03208
> :10014C00DC099848AAF21DE0AAF20EF0F0347C33D8
> :10015C000EF306F300FDE0154C549150685BB85358
> :10016C00084128213DF30DE5DC099838A758A7A7CD
> :10017C00DC44B9A30831184076F300C028217DF681
> :10018C000DD8A758A7A7B9A4084128217DFA0DD1ED
> :04019C00FA003C0227
> :1001A000ECF4E661C802E6F40AF6F6F4E6FCFCF4C8
> :0201B000FB88CA
> :0201B200FB88C8
> :1001B400ECF4E661C802E6F40AF6F6F4E6FCFCF4B4
> :0201C400FB88B6
> :1001C600ECF5F2F504F646F50A00FD1846F5FA00D8
> :1001D600FD0BEE90E6380100D190E62B0000E629F3
> :1001E6000000768330000D1476832000D190F2292A
> :1001F60008F6F22B08F6F23806F60D0AEE90E63807
> :10020600FFFFD190E62B0000E62900006683CF00B1
> :0A021600D180E6BE2F00FCF5FB8846
> :10022000D1809ACEFD70D1807ECEF6F8B0FECB00A4
> :0C0230009AB7FE707EB7C2F4B2FECB009D
> :10023C00E65A4000E6D811001AE2040C1AE3040C4A
> :10024C0076D80080D1807FCEE6F48000F6F400F6FC
> :10025C00E6CC7900E6D20100E6D00000E661C802E7
> :10026C00E6F4A0FEF6F4E4FCE6F40AF6F6F4E6FC9A
> :10027C00E6830000D1A0E6ED0000E6E00A007683FC
> :10028C003000E6C47A00E6C57B00E6F400F6F6F42E
> :10029C00ECFCE6F4A0FFF6F4EEFCE663FF00E638B7
> :1002AC00FFFFE6930F00D1A0E6BE2F00E629000069
> :1002BC00E62B0000BF88A758A7A79AB7FC707EB79B
> :1002CC00F65902F6F2F602F646F655003D06F68EA3
> :1002DC0004F6D180E6BE6F000DEE46F641003D1AE5
> :1002EC00BBA1F6F404F69140F09466F9FF00F059C6
> :1002FC005C85E6F4FFFF2045F6F408F6F0595C75D2
> :10030C00E6F4FFFF2045F6F406F6D180E6BE6F005A
> :10031C00E690004046F63F003DCEE6F64200D18026
> :10032C009ACEFD70D1807ECEF6F6B0FE0DC40DC314
> :04000C00994100F620
> :020010000000EE
> :04000000FA00FC0006
> :04006000FA00B401ED
> :04006400FA00B201EB
> :0400A000FA00A001C1
> :0400F800FA00C60143
> :00000001FF          
>


Antworten bitte nur ins Forum!
Fragen per EMail auf Forum-Postings werden nicht beantwortet!

Das macht meine Heizung gerade


    Antwort schreiben


Antworten: