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 bestrider14

  1. B

    [SOLVED] Proteus: timestep too small on a basic circuit

    I format my pc and every thing go back to normal. Thank you anyway for you help
  2. B

    [SOLVED] Proteus: timestep too small on a basic circuit

    I check the propertie and off resistance is 100M/ on resistance is 0.01. But I dont think the bug come from the switch cause I got the same result if I replace the switch by a transistor. The problem came when it switch sate (on/off) - - - Updated - - - UPDATE: I try this circuit on an other...
  3. B

    [SOLVED] Proteus: timestep too small on a basic circuit

    Hi. I would like to know what im doing wrong on this circuit cause I got an error: ([SPICE] TRAN: Timestep too small; timestep = 0.0133112: trouble with node #D1_S2#branch) and this is the most basic circuit I can make. I made some circuit whit many Ic and still simulate fine but this I cant...
  4. B

    [PIC] pic18 try to find out what cause stack overflow

    Thanks for your reply but I try this I change all my string in the code and still change nothing :(. I dont think the probleme is my RAM. 0 1144 Used RAM (bytes): 127 (6%) Free RAM (bytes): 1900 (94%) Used RAM (bytes): 127 (6%) Free RAM (bytes): 1900 (94%) Before I have 10% used now I have...
  5. B

    PIC18f4550 and Bluetooth HC-06

    you need to seed the data via UART to the HC-06 (RX,TX) and you need to connect the device to you pc before make communication. the easy way is with RealTerm to send your commande code to your HC-06 and get your connection after plug it in your project. It will save the config so it will auto...
  6. B

    [PIC] pic18 try to find out what cause stack overflow

    Hi I try to make a little menu on my lcd screen to show some data and setting. I get the data from an another pic from SPI. This work well but when a try to add some data,or new line in my menu a get a stack overflow. If a check in the fonction tree in mikroc the max deep stack a have i 6 and...
  7. B

    [SOLVED] my pic crash with spi + variable

    Hi, I got a new probleme now on my ds33fj128mc802. when a try to send some data on my spi whith a variable my pic crash char dataLength=8; SPI1_Write(dataLength); //will not work SPI1_Write(8); //will work I dont know why it crash, it try to do some test and still now working :(. I joint...
  8. B

    [SOLVED] mikroc math lib dont work

    thank to everyone but i take the code from paulfjujo and its work now i dont know why but it work i modify the code for my pic and get data from my gyroscope and it work :) now i know the angle of my drone :D THANKS
  9. B

    [SOLVED] mikroc math lib dont work

    Ok i try your code and it work but if i delete the 2 line of the uart_write it crash double df1,df2; char txt[25],i; void Main() { Unlock_IOLOCK(); RPOR7 = 0b0000001100000000; //OUTPUT TX UART 1 PIN RB15 RPINR18 = 0b0000000000001110; //INPUT RX UART 1 PIN RB14 lock_IOLOCK()...
  10. B

    [SOLVED] mikroc math lib dont work

    I think i express me wrong. I try to do my best in englis so sorry if it hard to understand. Forget all about the uart. Its realy the math lib where i got crash. Void main { do { //pic will excute all the code over Cos (2.0);//pic will crash and reboot here //pic will never go...
  11. B

    [SOLVED] mikroc math lib dont work

    But its a precompiled lib and its not the uart the probleme cause whitout any uart in project it will crash when a will call function like sin,cos,tan. The uart line just after the function cos "resolve" the crash so that why i dont understand why it crash whitout uart cause they arr no link...
  12. B

    [SOLVED] mikroc math lib dont work

    Watchdog is disable in the ide but i can try but is realy a function in the math lib that make the crash if a delete the line my code will work so i dont think this can be the wdt but i will take a guess
  13. B

    [SOLVED] mikroc math lib dont work

    im using Mikroc pro dspic and yeah the IDE take care of this its 2 different. IDE by the way for a 16f/18f and dspic. My MCU is a dspic33fj128mc802. i have try to redonwload the IDE just to be sure that i dont have a bad library file. i dont thinks thats a bad file cause if i can simulate it...
  14. B

    [SOLVED] mikroc math lib dont work

    I made this code for test the function. void Main() { AD1PCFGL = 0xFFFF; // digital not analog CMCON = 7; TRISA.B0 = 0; PORTA.B0 = 1; cos(2); //just this will crash in hardware do { PORTA.B0 = 1; delay_ms(100); PORTA.B0 = 0...
  15. B

    [SOLVED] mikroc math lib dont work

    Thank for the reply. I think i will go for the look up table cause it seem to crash in my main project. The function dont need a pointer so i dont know why it crash. Cause on proteuse it run super well but on hardware not so i try to see what it can cause the crash on hardware cause i do...

Part and Inventory Search

Back
Top