Search found 117 matches

by rrsquez
04 Nov 2016 22:25
Forum: mikroC PRO for ARM General
Topic: DMA for ARM?
Replies: 5
Views: 3386

Re: DMA for ARM?

Thank you Aleksandar and Serge for you comments and suggestions.

Please add "DMA Controller" to the "Wish List" for future compiler upgrades. I'm hoping the code in Libstock works well enough. I'm curious to see how well this was implemented.

Regards, Richard V
by rrsquez
03 Nov 2016 21:55
Forum: mikroC PRO for ARM General
Topic: DMA for ARM?
Replies: 5
Views: 3386

DMA for ARM?

Hello. I could not find the Reference Manual for the Mikro-C Compiler for ARM. Where is it? More importantly, I am trying to determine if I can use this compiler for ARM. I need to perform DMA (direct-memory-access) functions using the STM32F334C8 microcontroller (a "DISCOVERY" board by ST Microelec...
by rrsquez
04 May 2016 21:23
Forum: mikroProg™ programmer and debugger
Topic: MikroProg: Which the Master, Target or Programmer?
Replies: 3
Views: 3915

Re: MikroProg: Which the Master, Target or Programmer?

Hello Filip. Thanks, but now I'm way more confused than ever. The example shown using an ATmega16 clearly shows that programmer MOSI signal is connected to the Target MOSI pin. Now your are telling me that this image is wrong by calling it a "slave" unless it's a PIC32 (not shown). The MOSI signal c...
by rrsquez
04 May 2016 20:18
Forum: Development Boards
Topic: GUI Development & Microcontroller Memory
Replies: 0
Views: 6565

GUI Development & Microcontroller Memory

Hello, I was interested in developing an embedded GUI application similar to your TFT development boards, such as the "mikromedia for Tiva C Series" for example. I need to develop a similar application. It needs to hold about 4 MByte of data and images. I am not sure a micro-SD memory card will be a...
by rrsquez
22 Apr 2016 17:42
Forum: mikroProg™ programmer and debugger
Topic: MikroProg: Which the Master, Target or Programmer?
Replies: 3
Views: 3915

MikroProg: Which the Master, Target or Programmer?

Hello, I have two quick questions regarding your programmer hookup;

1) Regarding the signals MOSI and MISO, which is the Master, the Target or the Programmer?
2) Does reversing MOSI and MISO damage the Programmer?

Thank you, Richard V
by rrsquez
21 Apr 2016 17:59
Forum: mikroProg™ programmer and debugger
Topic: Do not want to destroy another Microcontroller
Replies: 3
Views: 3919

Re: Do not want to destroy another Microcontroller

Hello. I have some quick questions first. 1) Which is the "Master" with regards to MOSI and MISO, the Target, or the Programmer? I believe the "Target" is, based on the datasheet for the ATmega16 example shown. 2) I know power and ground are important to get right, but does swapping MOSI and MISO hu...
by rrsquez
21 Apr 2016 00:13
Forum: mikroProg™ programmer and debugger
Topic: Do not want to destroy another Microcontroller
Replies: 3
Views: 3919

Do not want to destroy another Microcontroller

Hello, I just bought and tried to use the AVR programmer. I was very careful hooking up the 6 leads, especially power and ground. The programmer complains indicating that it cannot synchronize with my board. I tried swapping MISO and MOSI, but I think I fried my chip doing that. I have 2 other progr...
by rrsquez
21 Apr 2016 00:05
Forum: mikroC PRO for AVR General
Topic: Function won't return back to program
Replies: 9
Views: 5722

Re: Function won't return back to program

Hello Biljana. Thank you, but the variable Manrange is used all over my program in MANY files, so I can't just put it where you suggested. Besides that, there is no mention why that floating point variable has to be defined outside my function. If I don't do this, the function will not return. My bo...
by rrsquez
19 Apr 2016 16:41
Forum: mikroC PRO for AVR General
Topic: Function won't return back to program
Replies: 9
Views: 5722

Re: Function won't return back to program

Hello, I have more to add. I think I may be done with this thread having found a way around the problem. This fails: int CAL_Dig_Pot() { bit keeprunning; int i; float tempfloat; // and the rest of my code .... } This works: // Local variable float tempfloat; int CAL_Dig_Pot() { bit keeprunning; int ...
by rrsquez
19 Apr 2016 16:25
Forum: mikroC PRO for AVR General
Topic: Function won't return back to program
Replies: 9
Views: 5722

Re: Function won't return back to program

Hello, I have more to add. I tried reducing my switch from this: switch (Manrange) { case 1 : CM_Correction1 = tempfloat; WriteFloatToEEPROM(CM_Correction1, CM_CORRECTION1_ADDR); ADC_to_uAmp_Factor = ADC_to_uAMP1 * CM_Correction1; break; case 2 : CM_Correction2 = tempfloat; WriteFloatToEEPROM(CM_Cor...
by rrsquez
19 Apr 2016 01:53
Forum: mikroC PRO for AVR General
Topic: Function won't return back to program
Replies: 9
Views: 5722

Re: Function won't return back to program

Hello, I have done as suggested. I have reduced the code to the essence of the problem that I am experiencing. I think that I know where the problem is. Please look in "Digital_Pot_CAL.c", look for the text tags "MIKROE Team". I have placed these tags to make it easy to find the code that I suspect....
by rrsquez
12 Apr 2016 23:32
Forum: mikroC PRO for AVR General
Topic: Function won't return back to program
Replies: 9
Views: 5722

Re: Function won't return back to program

I have more info. A compound operator causes this failure. Why? Here is the one line of code that causes this failure: CM_Correction1 *= tempfloat; // Notice the compound operator. This line doesn't cause the failure: CM_Correction1 = tempfloat; // This works, but is wrong. Returning from a function...
by rrsquez
12 Apr 2016 23:23
Forum: mikroC PRO for AVR General
Topic: Function Won't Return From Call
Replies: 1
Views: 2971

Function Won't Return From Call

Hello Mikroe Team. Please don't sweep this problem under the rug, again, like my last post concerning this issue. I realize that I only get 1 response from Mikroe on any topic, then it gets ignored forever. This looks like a major BUG in your compiler. I've thought this before, so please prove me wr...
by rrsquez
06 Apr 2016 19:39
Forum: mikroC PRO for AVR General
Topic: Function won't return back to program
Replies: 9
Views: 5722

Function won't return back to program

Hello All, I have a minimized version of my code that I wrote to narrow down a function call problem. My program is now bare bones, but the problem is well preserved and happens every time. I call this function called "CAL_Dig_Pot()" from my main function. Originally this was a much more complex fun...
by rrsquez
06 Apr 2016 17:37
Forum: Website & Forums General Discussion
Topic: Support Ticket
Replies: 2
Views: 3688

Re: Support Ticket

Thank you Aleksandar. I thought I was already logged in; I was logged into the Forum, but not the Help Desk.
I see that I had to log in with them to view my tickets. That's the reason I couldn't find them.

Thank you, Richard V

Go to advanced search