This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Debug with IAR for 8051

Hi everyone !

I'm using IAR Assembler for 8051   7.51A/W32 (7.51.1.3) to debug my project. But, i have a problem with debugging. When i start debugging, Target selection dialog occur .

So that, i can't debug. Please, show me how to overcome this error.

Please, help me. thanks !

 

 

 

  • Tuan Do:

    Have you verified that your SRF05 board is powered and properly enumerated in Windows, by checking Hardware Manager?

    LPRF Rocks the World

  • Hi,

    The issue is probably related to the version of the SmartRF05EB driver. You need to download the IAR patch 7.51M in order for IAR EW to support the latest SmartRF05EB driver. You will find all the available patches to IAR EW  by logging in to My pages at IAR.com. I would recommend you to install all of the available IAR patches while you're at it. 

    When you've installed the latest patches, IAR should recognize your SmartRF05EB!

    Regards,
    ABO 

    Edit: Minor typo.

    --
    PS. Thank you for clicking  Verify Answer  if this answered your question!

  • Hi  ABO !

    I'm  using SmartRF04EB.  But, I have installed the last version of  IAR  :  IAR Assembler for 8051   7.60.1 (7.60.1.40026), this problem repaired.

    I think the reason is IAR Assembler for 8051   7.51A/W32 (7.51.1.3) doesn't recognize the SmartRF04EB driver.

    Thanks for helps !

  • Hello,

    I am currently working with IAR Embedded Workbench to program the microcontroller 8051.

    I need to schedule 8051 to recover the transmitted data. Can you help me, please ?

    Thanks !

  • Hi,

    I bricked both my 05EB boards and two CCDebuggers and had to get a third CCDebugger to help me recover from a similar situation.

    It looks very much like your Eval Board hasn't got the right firmware programmed into it (any longer??)

    Based on previous comments in response to your post, I assume you have tried to re-install the Eval Board Drivers and this hasn't solved your problem.

    I suspect you haven't got the right bootloader/SmartRF04EB firmware in your Eval Board. When you do (and have Windows Drivers installed) Your SmartRF04 eval board will show up in the box (as in image you have supplied in your post), it will also appear in Windows Device Manager (under CEBAL CONTROLLED DEVICES) and in SmartRF Flash Programmer and SmartRFStudio (if you got these installed on your PC).

    If you haven't got the right bootloader and firmware  (perhaps have over written it - a common mistake due to convoluted design of tools), then to re-program your '04EV board you are going to need a CCDeugger or another 04EV board - to use as programmer.

    I am currently working on a document for publication, that clarifies the ever so confusing official instructions and the relationship of various ports on the eval boards and how to check the right boxes in Flash Programmer to make sure that the right firmware goes to the right device and location. 

     Can you reply to this and let me know if this makes any sense and if let me  know what (else) you have got by way of hardware (a CCDebugger? another EvalBoard?) and what firmware is programmed into them. Windows should certainly recognise these and they should show up in your Device Manager before you can begin to use them with the Development Tools and Environments.

    Regards,

    Tamer.

  • This thread is 2 years old, so I guess the problem is already solved.

    How to use the CCDebugger and the SmartRF0xEBs are well documented in the respective user's guides.

    SmartRF05EB User's Guide

    CCDebugger User's Guide

    /Fredrik

  • Fredrik,

    Thanks but I have found many instances of errors in the documentation.

    I.e. things aren't always as documented, else I would not be looking for help here.

    But thanks all the same for your technical-assistance.

  • Joe,

    If you have more questions regarding this topic, please do not hesitate to ask in this thread. If you have questions on another topic, please search the forum for answers, and create a new thread if you do not find the answer you were looking for!

    Br,
    ABO