Figure 13. Selecting the JTAG driver in IAR.
Page 14 of 22
Page 1: ...red on either card interface The DS8005 is designed to be used with microcontrollers that contain an ISO 7816 UART or have the bandwidth to run this protocol in software by bit banging IO ports In the...
Page 2: ...Figure 1 The DS8005 evaluation kit Page 2 of 22...
Page 3: ...to the DS8005 allows for current testing Closed 3 3V is supplied to the DS8005 JU5 Open Breaks the smart card interface power supply connection VDDA See JU3 setting Closed Closes the smart card inter...
Page 4: ...run this executable navigate to the install FTDI_Drivers directory of the CD and run the executable CDM20814_Setup exe Once this setup executable has been run you will be able to connect the USB to J...
Page 5: ...DI Drivers If you have connected a large number of different FTDI based USB to serial adapter devices to your system or if you simply have many USB to serial based devices installed you may find that...
Page 6: ...AG adapter there is an optional change you can make to the FTDI driver settings Generally this setting s change should improve the overall communications speed of the USB to JTAG interface which is us...
Page 7: ...ar instance of the FTDI driver installation Installing and Using the Microcontroller Tool Kit MTK The CD provides a sample transaction application The binary hex file DS8005_EK hex is located under th...
Page 8: ...it directly in the Port field and click Ok Figure 6 Configuring the serial port to load code in MTK2 Now connect the USB to serial adapter to the DS8005 evaluation kit board with the provided 10 pin...
Page 9: ...select File Load Code and locate and open the DS8005_EK hex file This will take several seconds as the code size is relatively large Once MTK is done it will output a message showing that the load com...
Page 10: ...t edition s 4kB limit IAR provides documentation on how to install the compiler and how to use the tools This section describes how to compile run and debug the example code with IAR assuming IAR is a...
Page 11: ...Figure 10 Opening an existing workspace on IAR startup Page 11 of 22...
Page 12: ...code workspace in IAR All the project options should be correctly set However the COM port will need to be changed to match the VCP of the USB to serial adapter Right click on the project and select...
Page 13: ...ns in IAR In the Options dialog box select the Debugger tab Figure 13 Select JTAG from the Driver drop down menu Now select the JTAG subtab just below the Debugger tab Figure 14 Change the COM port ac...
Page 14: ...Figure 13 Selecting the JTAG driver in IAR Page 14 of 22...
Page 15: ...code is being loaded onto the MAXQ622 Once done the window will disappear and a green arrow will point to the start of code since IAR automatically sets a break point at the start of main To debug the...
Page 16: ...er to avoid problems while trying to connect to the device Start CrossStudio for MAXQ 2 1 and select File Open from the menu Locate and open the example code s project file DS8005_EK hzp Figure 16 Fig...
Page 17: ...ow to view the targets and target properties These windows will appear on the right Inside the Targets window select Maxim Serial JTAG Adapter Figure 18 The target s properties will appear in the Prop...
Page 18: ...e window will confirm the connection and a status indicator at the bottom right of the window will show a yellow circle and Maxim Serial JTAG adapter Figure 21 Figure 20 Connecting to the Serial JTAG...
Page 19: ...on the far right corner of the main toolbar Figure 22b a b Figure 22 Shortcut buttons for debugging in Rowley The top shows the buttons available in the Disassembly window The bottom shows the button...
Page 20: ...5200 for the Speed setting This is the baud rate used in the example code Figure 24 Configuring the serial port for terminal emulation in MTK2 Lastly select Target Open COMx at 115200 baud from the me...
Page 21: ...4 or SAM card insertion Now if SW4 is pressed and the SIM card is properly inserted back into the SIM card socket the application will power up the SIM card and issue another ATR The LCD screen acts a...
Page 22: ...hnical Support http www maximintegrated com support For Samples http www maximintegrated com samples Other Questions and Comments http www maximintegrated com contact Application Note 5388 http www ma...