REKLAMA

flip_2-2-4.zip

Konwersja plików HEX-80 na HEX-86/HEX-386 w Keil demo i Flip

Witam! Mam następujący problem : posługuję się już trochę Keilem w wersji demo (niestety) i jak na razie jest ok . Ale ostatnio potrzebowałem zapisać program przez Flipa i powstał problem , Keil tworzy mi pliki HEX-80 a Flip rozumie tylko HEX-86 , lub HEX-386 . Czy można coś na to poradzić? Pozdrawiam Roman Trochę poszperałem i wiem ,że problem wynika z możliwości adresowania pamięci. Wydaje mi się ,że rozwiązaniem jest zastosowanie Flipa w wersji 2.4.4 . Może ktoś posiada wersję źródłową Flip 2.4.4 ? Znalazłem Flip 2.2.4 zapisuje on pliki w postaci hex. Załączam wersje źródłową. Zamykam temat.


Pobierz plik - link do postu
  • flip_2-2-4.zip
    • SETUP.EXE
    • lang.dat
    • _sys1.cab
    • _setup.dll
    • layout.bin
    • setup.lid
    • SETUP.INI
    • bin
      • batchIsp.exe
      • AtIsp.dll
      • flip.exe
      • tk84.dll
      • GetPCANHW.dll
      • msvcp60.dll
      • AtCanRM.dll
      • AtCanVector.dll
      • Vci11un6.dll
      • AtRs232.dll
      • CanApi2.dll
      • AtCanIxxat.dll
      • msvcrt.dll
      • AtusbDfu.dll
      • vcand32.dll
      • AtCanSystec.dll
      • AtCanRs232.dll
      • AtCanPeak.dll
      • tcl84.dll
      • AtIspTclExt.dll
    • setup.bmp
    • _INST32I.EX_
    • info
      • Changes.txt
      • News.txt
      • license.txt
      • Atmel.url
      • Readme.txt
      • Install.txt
    • data1.cab
    • DATA.TAG
    • help
      • whskin_homepage.htm
      • atmel_standard.css
      • whmsg.js
      • whiform.htm
      • image9.gif
      • whd_tab2.gif
      • whproj.htm
      • overview_rhc.htm
      • setting_buffer_options.htm
      • inserting_wait_states.htm
      • webhelp.jar
      • setting_the_debug_mode.htm
      • whframes.js
      • whskin_info.htm
      • cshdat_webhelp.htm
      • specifying_a_range_of_addresses.htm
      • image28.jpg
      • using_a_command_file.htm
      • whd_sync2.gif
      • image4.gif
      • whfform.htm
      • whd_topic.xml
      • overview.htm
      • cshdat_robohelp.htm
      • selecting_a_device.htm
      • whxdata
        • whftdata0.xml
        • whfts.xml
        • whidx.xml
        • whtdata0.xml
        • whtoc.xml
        • whglo.xml
      • setting_up_the_autoisp_mode.htm
      • whd_toc2.gif
      • image21.jpg
      • verifying_memory.htm
      • image21.gif
      • whd_tab5.gif
      • image10.gif
      • whmozemu.js
      • whd_tab6.gif
      • whhost.js
      • selecting_an_isp_hardware.htm
      • rs232.htm
      • getting_started.htm
      • can_pre-installation_requirements.htm
      • getting_the_batchisp_program_version.htm
      • selecting_a_port.htm
      • editing_the_buffer.htm
      • setting_the_autoisp_mode.htm
      • operations_summary.htm
      • whd_tab7.gif
      • whd_tabs.htm
      • whd_toc3.gif
      • image1.jpg
      • reading_and_writing_special_bits_and_bytes.htm
      • whgdata
        • whlstt0.htm
        • whlstt4.htm
        • whlsti0.htm
        • whnvp31.htm
        • whnvl31.htm
        • whlstg0.htm
        • whnvt32.htm
        • whlstt1.htm
        • whlstt2.htm
        • whnvt33.htm
        • whnvp30.htm
        • whnvt31.htm
        • whnvf33.htm
        • whnvp32.htm
        • whlstt3.htm
        • whnvp33.htm
        • whnvf31.htm
        • whnvf32.htm
        • whnvl32.htm
        • whnvl33.htm
        • whexpbar.gif
        • whnvf30.htm
        • whnvt30.htm
      • image17.jpg
      • whnjs.htm
      • whphost.js
      • atmel_rvb.gif
      • overview_csh.htm
      • programming_memory_batchisp.htm
      • setting_special_bits_and_bytes.htm
      • whstub.js
      • whd_toc4.gif
      • programming_memory.htm
      • whres.xml
      • whver.js
      • whd_wbsh1.gif
      • whd_prev0.gif
      • can_interfaces.htm
      • software_architecture.htm
      • whgbody.htm
      • operations_directives_summary.htm
      • whfhost.js
      • whform.js
      • webhelp.cab
      • saving_the_buffer_contents_to_a_file.htm
      • whlang.js
      • image10.jpg
      • image27.jpg
      • image25.gif
      • whd_tab3.gif
      • whd_tab8.gif
      • whd_wbsh2.gif
      • overview_isplib.htm
      • whd_hide1.gif
      • serializing_parts.htm
      • image7.jpg
      • launching_the_embedded_application_batch.htm
      • whfbody.htm
      • whcshdata.htm
      • setting_demo_mode.htm
      • whgdhtml.htm
      • setting_up_the_usb_interface.htm
      • whd_prev2.gif
      • whtdhtml.htm
      • reading_memory.htm
      • whd_wbsh0.gif
      • whproj.js
      • whproj.xml
      • image20.jpg
      • whutils.js
      • image23.jpg
      • whd_tab0.gif
      • verifying_memory_batchisp.htm
      • whd_dpns.htm
      • image15.jpg
      • image23.gif
      • selecting_a_communication_medium.htm
      • image22.jpg
      • atmel_standard_ns.css
      • whproxy.js
      • image26.gif
      • image2.gif
      • setting_the_can_bitrate.htm
      • changing_the_on_fail_behavior.htm
      • whd_home.htm
      • whihost.js
      • image24.jpg
      • image26.jpg
      • closing_a_can_node.htm
      • loading_the_isp_buffer.htm
      • whstart.js
      • image15.gif
      • whdata
        • whfwdata.js
        • whglo.htm
        • whfts.htm
        • whidx.js
        • whfts.js
        • whtdata.js
        • whgdata.js
        • whftdata.js
        • whidata.js
        • whftdata0.htm
        • whtoc.htm
        • whtoc.js
        • whidx.htm
        • whtdata0.htm
        • whglo.js
      • reading_memory_batch.htm
      • whd_sync1.gif
      • whtopic.js
      • loading_a_hex_file.htm
      • image13.jpg
      • whibody.htm
      • setting_the_rs232_baudrate.htm
      • setup_directives_summary.htm
      • blank_checking_memory_batchisp.htm
      • whthost.js
      • whd_show0.gif
      • filling_the_buffer.htm
      • whgdef.htm
      • image30.jpg
      • whidhtml.htm
      • image6.jpg
      • ehlpdhtm.js
      • whd_nvp20.htm
      • setting_preferences.htm
      • setting_up_the_rs232_interface.htm
      • image11.gif
      • whd_show2.gif
      • whd_sync0.gif
      • blank_checking_memory.htm
      • whd_hide0.gif
      • selecting_a_device_batchisp.htm
      • whd_show1.gif
      • image16.jpg
      • whd_next2.gif
      • image5.gif
      • using_the_operations_flow.htm
      • whd_nvp10.htm
      • whskin_blank.htm
      • flip2help.log
      • opening_a_can_node.htm
      • logging_results_to_a_file.htm
      • index.htm
      • whskin_pickup.htm
      • image17.gif
      • whd_next0.gif
      • setting_up_the_can_interface.htm
      • disabling_the_usb_driver_installation_check.htm
      • asserting_operation_results.htm
      • image19.gif
      • whd_tab1.gif
      • image24.gif
      • usb_pre-installation_requirements.htm
      • setting_the_demo_mode.htm
      • whd_next1.gif
      • image18.jpg
      • whd_hide2.gif
      • ehelp.xml
      • whghost.js
      • selecting_the_target_memory.htm
      • whfdhtml.htm
      • image9.jpg
      • overview_1.htm
      • selecting_the_target_memory_batchisp.htm
      • erasing_memory.htm
      • usb.htm
      • erasing_memory_batchisp.htm
      • image5.jpg
      • whd_toc1.gif
      • getting_help.htm
      • whd_tab4.gif
      • image12.jpg
      • whcsh_home.htm
      • whd_prev1.gif
      • image4.jpg
    • _user1.cab
    • Prefs.tcl
    • usb
      • windrvr.sys
      • usb_dfu.inf
      • windrvr.vxd
      • wdreg_gui.exe
      • InstUsb.exe
      • wd_virtual.inf
    • setup.ins
    • os.dat
    • demo
      • ispDemo.dsw
      • README.txt
      • ispDemo.opt
      • src
        • utility.h
        • Isptest.cpp
        • isptest.h
        • AtIsp.h
      • ispDemo.ncb
      • ispDemo.dsp
      • ispDemo.plg
      • Release
        • ispDemo.exe
    • _ISDEL.EXE


flip_2-2-4.zip > inserting_wait_states.htm

Inserting Wait States



















" );}
//-- & gt;




























Inserting Wait States



" );
//-- & gt;







TYPE

DIRECTIVE

OPTIONAL

ARGUMENTS



Operation

wait

Yes

[ & lt;Nsec & gt; ]
" );
//-- & gt;


The wait directive
is used to insert a pause between two ISP operations, if necessary.

& lt;Nsec & gt; = optional pause duration in seconds.

If no value is specified after the wait
directive, then batchisp waits
for the user to hit the Return
key.

Example of use :

& gt; batchisp -device at89c51rd2 -operation erase F wait 2 blankcheck 0x00 0x3FF

& nbsp;

The & lt;Nsec & gt; argument must be an integer .

& nbsp;


flip_2-2-4.zip > setting_the_debug_mode.htm

Setting the Debug Mode



















" );}
//-- & gt;




























Setting the Debug Mode



" );
//-- & gt;







TYPE

SWITCH

OPTIONAL

ARGUMENTS



Setup

-debug

Yes

& lt;traffic_log_file & gt;
" );
//-- & gt;


The - debug switch forces batchisp to display input/output traffic
on the selected medium.

Example of use :

& gt; batchisp -device at89c51rd2 -debug
& quot;C:\temp\mylogfile.txt & quot;
-operation loadbuffer & quot;C:\tmp\test.hex & quot; program verify

If no argument is given to the debug switch, a log file is created by
default in the folder containing the batchisp.exe file.

This default log file name is log.txt.

& nbsp;

& nbsp;


flip_2-2-4.zip > whskin_info.htm

WebHelp 5.10




WebHelp 5.10 System Info

Start Page overview.htm
Skin Name
Generating Time 13:33 03/10/2004
Language ID 1033
Compile Script webhelp5_compile_script.xml
Compile Build Version 11.00.228
Product Name WebHelp 5.10
Authoring Tool Name RoboHelp X3


flip_2-2-4.zip > setting_the_autoisp_mode.htm

Setting the AutoISP Mode



















" );}
//-- & gt;




























Setting the AutoISP Mode



" );
//-- & gt;







TYPE

SWITCH

OPTIONAL

ARGUMENTS



Setup

- autoisp

Yes

{ 0 | 1 } { 0 | 1 }
" );
//-- & gt;


Example of use :

& gt; batchisp -device at89c51rd2 -autoisp
-operation erase F -demo

The - autoisp switch may have
two arguments or no argument at all; there is no other possible number
of arguments.

The first argument is the RESET signal active level. The second argument
is the PSEN signal active level.

With the above command line, batchisp displays the following :


flip_2-2-4.zip > overview_csh.htm

flip2help











= len)
return getHomePage()
else
frames[ " csh " ].location = gasProj[gCurrent] + gCSHFileName;
return " " ;
}

function getRelHomePage(strLocation)
{
var strCurPPath = _getPath(strLocation);
var strOriPPath = _getPath(getHomePage());
var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);
var strURL = getHomePage() + " # " + strRelPath;
return strURL;
}

function getHomePage()
{
var strHomePage;
var strTmp = location.toString();
var nPos = strTmp.indexOf( " # " );
if (nPos != -1)
{
strHomePage = strTmp.substring(0, nPos);
}
else
{
strHomePage = strTmp;
}
var nPos1 = strHomePage.indexOf(gCSHSuffixName1);
var nPos = strHomePage.indexOf(gCSHSuffixName2);
if (nPos != -1)
{
strHomePage = strHomePage.substring(0,nPos);
if (nPos1 != -1)
strHomePage += " .html " ;
else
strHomePage += " .htm " ;
}
return strHomePage;
}
//-- & gt;


flip_2-2-4.zip > programming_memory_batchisp.htm

Programming Memory



















" );}
//-- & gt;




























Programming Memory



" );
//-- & gt;







TYPE

DIRECTIVE

OPTIONAL

ARGUMENTS



Operation

program

Yes

None
" );
//-- & gt;


The program directive is used to program the target memory
with the contents of the ISP buffer.

Before using this directive, you will probably load
the ISP buffer from an input HEX file.

If no addrange directive is
used before the program one,
the range of addresses is the HEX file one.

Example of use :

& gt; batchisp -device t89c51cc01 -hardware PEAKPCAN -operation
loadbuffer & quot;C:\labo\dev\isp\hexfile.hex & quot; program

& nbsp;


flip_2-2-4.zip > setting_special_bits_and_bytes.htm

Setting Special Bits and Bytes



















" );}
//-- & gt;




























Setting Special Bits and Bytes

In the device frame of the main window, you can read/write or clear/set
some bytes and bits.

The following table summarizes the main bits and bytes as well as their
status (Read / Write).



" );
//-- & gt;






Bit or Byte Name

Meaning

Status



Signature Bytes

Manufacturer ID + Device ID1+ Device ID2 + Device ID3

R



Device Boot IDs

Bootloader ID1 + Bootloader ID2

R



Hardware Byte

& nbsp;

R



Bootloader Version

& nbsp;

R



BLJB

Bootloader Jump Bit (part of Hardware Byte)

RW



X2

X2 Mode Bit (part of Hardware Byte)

RW



BSB

Boot Status Byte

RW



EB

Extra Byte

RW



SBV

Software Boot Vector

RW



SSB

Software Security Byte

RW
" );
//-- & gt;


In order to modify a byte value, simply
type an hexadecimal value (without any 0x prefix) in the byte entry field;
as soon as two valid characters are typed, the byte is written; no return
key typing is necessary.

The BLJB is active low. Checking its checkbox
in the device frame enables it.

For information about the way some of these
bytes and bits control the microcontroller boot process, please read the
device and the bootloader datasheets.


flip_2-2-4.zip > programming_memory.htm

Programming Memory



















" );}
//-- & gt;




























Programming Memory

Once you have loaded a HEX file into the buffer, you can program the
target memory by executing the Device
& gt; Program command from the top menu bar.

If you launch a programming operation with a virgin buffer (neither
loaded, nor edited) you will be prompted with the following message :

" );}
else
{ document.write( " " );}
//-- & gt;

When the programming operation completes,
FLIP sets the Boot
Status Byte ( BSB ) to 0x00.

& nbsp;


flip_2-2-4.zip > logging_results_to_a_file.htm

Logging Results to a File



















" );}
//-- & gt;




























Logging Results to a File



" );
//-- & gt;







TYPE

SWITCH

OPTIONAL

ARGUMENTS



Setup

-logf

Yes

& lt;out_logfile & gt;
" );
//-- & gt;


The - logf switch lets you specify
a text output file in which batchisp report is written.

The report contents is the same than the one displayed on screen.

Example of use :

& gt; batchisp -device at89c51rd2 -logf
& quot;C:\tmp\rd2_log.txt & quot; -operation loadbuffer & nbsp; & nbsp; & quot;C:\tmp\test.hex & quot;
program verify

& nbsp;


flip_2-2-4.zip > index.htm

Overview



















" );}
//-- & gt;





" ;
strNSS += " p.whs1 {margin-left:1; } " ;
strNSS += " p.whs3 {margin-left:1; } " ;
strNSS += " " ;
document.write(strNSS);
}
//-- & gt;

























Overview

FLIP
is a flexible PC-application which lets you program and configure Atmel's
microcontroller devices in-system. This new major version of FLIP
offers the following capabilities :



perform
In-System Programming & nbsp;through
RS232, USB or CAN interfaces.




may
be used through its intuitive Graphical User Interface or launched from
a DOS window (see the batchisp
manual), & nbsp;from
an embedded software IDE like KEIL's uVision2, or even from your own application
(see the ISP Functions Library
manual).




runs
under Windows 9x / Me / NT / 2000 / XP.




supports
Intel MCS-86 Hexadecimal Object, Code 88 file format for data file loading
and saving.




buffer
editing capabilities : fill, search, copy, reset, modify, goto address.




target
device memory control : erase, blank check, program, verify, read, security
level and special bytes reading and setting.




parts
serialization capability (from batchisp
only).




ISP
hardware conditions may be set by software.




the
demo mode emulates ISP operations without any target hardware.


& nbsp;

& nbsp;


flip_2-2-4.zip > disabling_the_usb_driver_installation_check.htm

Disabling_the_USB_Driver_Installation_Check



















" );}
//-- & gt;




























Disabling the USB Driver Installation Check



" );
//-- & gt;







TYPE

DIRECTIVE

OPTIONAL

ARGUMENTS



Operation

-no_usbdrvchk

Yes

None
" );
//-- & gt;


The windrvr.sys driver must
be installed prior to performing ISP operations through the USB. By default,
batchisp checks the proper installation
of the driver by scanning the registry and stops if the searched registry
key is not found.

It may happen that the registry key cannot be found although the driver
is properly installed; you can exit this deadlock by using the no_usbdrvchk
directive.

& nbsp;