Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by renguo

  1. R

    can't debug using ICD3 (ICD3Err0040)

    ok, another question. I have just started debugging but the part I want to see most is in the ISR which triggers the ADC using PWM special event trigger. But while running in debug mode (Step Into or Animate), it keeps looping around the while loop and never enters ISR. Is this some sort of...
  2. R

    can't debug using ICD3 (ICD3Err0040)

    omg, thanks a lot! It worked now using PGC2/EMUC2. I admit I never really paid much attention to config bits. I have been making fairly easy projects before my current project, so I did not need to use the debug mode before. And it just worked so I never bothered, lol. I don't have time to test...
  3. R

    dspic33fj16gs502 vs dspic33fj16gs504?

    Hello, I am planning to make my own version of the interleaved PFC from microchips's application note AN1278 microchip.com/downloads/en/AppNotes/01278A.pdf However, I only have the dspic33fj16gs502, not the dspic33fj16gs504 (the one used in this application note). How do I know if the MCU...
  4. R

    can't debug using ICD3 (ICD3Err0040)

    yes, i tried on blinking LED, it works just fine. another weird thing with this board is that I can't seem to use it to program other 28-pin MCUs except for dspic33fj16gs502. I bought pic24 and other dspic33 models but they don't get detected. that's why I'm thinking this board might be...
  5. R

    can't debug using ICD3 (ICD3Err0040)

    Hi, please see the configuration on my first post. as for the error, it's always the same thing, which is ICD3Err0040: The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding. It compiles and programs just fine, just...
  6. R

    can't debug using ICD3 (ICD3Err0040)

    thanks but still doesn't work :(
  7. R

    can't debug using ICD3 (ICD3Err0040)

    I've always been using board power supply. I just tried usb supply now and even icd 3 supply but both don't work :( I also tried mplab x last night, but didn't work as well
  8. R

    can't debug using ICD3 (ICD3Err0040)

    i've just tried compiling for debug but still doesn't work. same error. i'm using mplab 8.92
  9. R

    can't debug using ICD3 (ICD3Err0040)

    Hi, It's my first time to use this debugging feature but I can't seem to make it work. I'm using MPLAB ICD 3 and 16-bit 28-pin demo baord (DM300027) for the dspic33fj16gs502. My configuration bits are as follows: _FOSCSEL(FNOSC_FRC) // Select Internal FRC _FOSC(FCKSM_CSECMD & OSCIOFNC_ON)...
  10. R

    Sensing current with dspic33f

    Hi, I'm planning to make a small project based on microchip's application note on interleaved power factor correction at **broken link removed** However, instead of using high voltage, my input is just 5-9 Vpeak and output is 15 V, since this is just a small project. Therefore, I think I can...
  11. R

    how to choose the right DSP board (preferrably TI)?

    Hello everyone, I am planning to use a DSP board for my power factor correction project. It's my first time to use DSP so I am completely clueless how to choose the right one for my application. I am a student and the DSP board will be bought as our laboratory equipment so maybe I will need a...
  12. R

    modeling an op-amp in matlab simulink simpowersystems

    Hi, I want to model an op-amp in simpower systems but I can't seem to make it work. I've read from one forum to use an adder and connect it to a gain block then using s-ps converter, but still simulink won't let me connect the s-ps block to the simpower block. You can check out the screenshot...
  13. R

    how to plot output impedance in HSPICE?

    I did not add anything on the netlist. I just used SPICE explorer to plot the graph. Use the Equation Builder under Tools button and put Vout/Iout
  14. R

    how to plot output impedance in HSPICE?

    Thanks for the help! I haven't tried your code yet as I decided to proceed with other homework but I did find a solution in the equation builder of SPICE explorer, which is to plot Vout/Iout. Sheesh, that was easy! However, I'm wondering why your method needs inductor replacement of the...
  15. R

    how to plot output impedance in HSPICE?

    hello, I'm simulating a wilson current mirror and would like to plot the output impedance of the circuit. In theory, it should be as easy as Vout/Iout but I just don't have any idea how to implement it. I know it's possible because I've seen the work of my senior but I can't ask him now. Here's...

Part and Inventory Search

Back
Top