RC India
Welcome Guest, please login or register.
 
Pages: 1 [2]  All   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools Topic Tools 
Read
« Reply #25 on: May 16, 2016, 07:00:37 AM »
fxshoppe
Plane Lover
Forum Hero
*****

Reputation Power: 12 
fxshoppe has no influence.
Offline Offline

City: New Delhi
State: Delhi
RC Skills: Beginner
Posts: 859
Join Date: Aug, 2014



Would love to help you with the project but frankly atmega8 is to small for this project. Use a nano it will solve your programming issue also. Do you have a parallel port in your cPU 25 pins 13 and 12 ( female)
BTW the female serial port you are referring is VGA port as it has 15 pins in 3 rows correct?
In case if you have a short requirement for programmer i can loan for 10 -12 days. I will pay shipping to jodhpur, u pay for the return post.Else u can buy one for around 200 good to have for future.
Logged
 

Read
« Reply #26 on: May 16, 2016, 11:32:34 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



Well thanks a lot for the nice word frame.
I have bought a usbasp. But i have no success with it.
I couldnt even burn a blink program in the atmega 8l.
Either the pc or the usbasp is wrong configured.
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #27 on: May 16, 2016, 11:34:30 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



I am currently curius that how flip flop could be range caliberated ?
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #28 on: May 17, 2016, 12:06:54 AM »
Dipanjan
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Dipanjan has no influence.
Offline Offline

City: Ichapur
State: West Bengal
RC Skills: Beginner
Posts: 326
Join Date: Aug, 2015



you should post the error you are getting at the Arduino IDE. What does the error say?
And I really don't understand what you are going to do with flip flops. You can generate PWM signal using 555IC and a potentiometer, but I dont understand how are you going to use flip flop
Logged
 

Read
« Reply #29 on: May 17, 2016, 01:45:21 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



i thought that using flip flops between the radio input pots and the analog input will increase stick reading resolution and that is already done in hitec radios
although i could skip these .
okay  inm in the process of finding the root of the error in the arduino ide
i shall report in few minutes
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #30 on: May 17, 2016, 01:46:22 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



also i have selected aruino NG and atmega8L as the mcu
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #31 on: May 18, 2016, 04:43:14 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



java.io.IOException: Access is denied
   at java.io.WinNTFileSystem.createFileExclusively(Native Method)
   at java.io.File.createTempFile(File.java:2024)
   at processing.app.BaseNoGui.saveFile(BaseNoGui.java:1087)
   at processing.app.SketchCode.save(SketchCode.java:222)
   at processing.app.SketchData.save(SketchData.java:165)
   at processing.app.Sketch.save(Sketch.java:595)
   at processing.app.Editor.handleSave2(Editor.java:2244)
   at processing.app.Editor.handleSave(Editor.java:2224)
   at processing.app.Editor.handleExport(Editor.java:2356)
   at processing.app.Editor$18.actionPerformed(Editor.java:725)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
   at java.awt.Component.processMouseEvent(Component.java:6535)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
   at java.awt.Component.processEvent(Component.java:6300)
   at java.awt.Container.processEvent(Container.java:2236)
   at java.awt.Component.dispatchEventImpl(Component.java:4891)
   at java.awt.Container.dispatchEventImpl(Container.java:2294)
   at java.awt.Component.dispatchEvent(Component.java:4713)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
   at java.awt.Container.dispatchEventImpl(Container.java:2280)
   at java.awt.Window.dispatchEventImpl(Window.java:2750)
   at java.awt.Component.dispatchEvent(Component.java:4713)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
   at java.awt.EventQueue$3.run(EventQueue.java:703)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
   at java.awt.EventQueue$4.run(EventQueue.java:731)
   at java.awt.EventQueue$4.run(EventQueue.java:729)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Access is denied
Build options changed, rebuilding all
In file included from C:\Users\mm\Desktop\ttnmnfk\download\arduino-1.6.8\hardware\arduino\avr\cores\arduino\wiring_private.h:31:0,

                 from C:\Users\mm\Desktop\ttnmnfk\download\arduino-1.6.8\hardware\arduino\avr\cores\arduino\wiring_digital.c:26:

C:\Users\mm\Desktop\ttnmnfk\download\arduino-1.6.8\hardware\arduino\avr\cores\arduino\Arduino.h:187:0: warning: "PE" redefined [enabled by default]

 #define PE 5

 ^

In file included from c:\users\mm\desktop\ttnmnfk\download\arduino-1.6.8\hardware\tools\avr\avr\include\avr\io.h:350:0,

                 from C:\Users\mm\Desktop\ttnmnfk\download\arduino-1.6.8\hardware\arduino\avr\cores\arduino\wiring_private.h:26,

                 from C:\Users\mm\Desktop\ttnmnfk\download\arduino-1.6.8\hardware\arduino\avr\cores\arduino\wiring_digital.c:26:

c:\users\mm\desktop\ttnmnfk\download\arduino-1.6.8\hardware\tools\avr\avr\include\avr\iom8.h:534:0: note: this is the location of the previous definition

 #define PE 2

 ^


Sketch uses 866 bytes (12%) of program storage space. Maximum is 7,168 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 1,015 bytes for local variables. Maximum is 1,024 bytes.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

its the error
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #32 on: May 18, 2016, 04:43:57 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



when i tried to upload the blink
all obve happened
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #33 on: May 18, 2016, 05:02:24 PM »
Balakrishna Reddy
Plane Lover
Forum Hero
*****

Reputation Power: 8 
Balakrishna Reddy has no influence.
Offline Offline

City: Hyderabad
State: Telangana
RC Skills: Intermediate
Posts: 698
Join Date: Feb, 2015



Try them with previous Versions of Arduino ide .
Do you have any other Arduino boards?
I did not have any success with usbasp and Arduino.
I recommend to have a Arduino board
« Last Edit: May 18, 2016, 05:13:00 PM by Balakrishna Reddy » Logged
 

Read
« Reply #34 on: May 19, 2016, 05:30:12 PM »
a3ruz
Plane Lover
Forum Veteran

****

Reputation Power: 1 
a3ruz has no influence.
Offline Offline

City: Kochin
State: Kerala
RC Skills: Advanced
Posts: 325
Join Date: Jul, 2015


Re:

Make sure that your MCU is preloaded with bootloader before uploading blink
Logged

It's all about beging in air
CT6B | HK Bixler | APM | S550 | Tarot XYZ M | Turnigy 9x | Naza M V2 | Phantom 2 | Phantom 4 | Taranis X9D+ | F450 | ZMR250 | Naze | Omnibus | Martian II | Airypix | Airytek | Drone Racers Kerala
 

Read
« Reply #35 on: May 19, 2016, 10:54:13 PM »
Dipanjan
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Dipanjan has no influence.
Offline Offline

City: Ichapur
State: West Bengal
RC Skills: Beginner
Posts: 326
Join Date: Aug, 2015



1. Double-triple check the connections.
2. Have you correctly put external crystal in to breadboard with 22pF caps?
3. Have you selected the right board from the Arduino IDE? It should be Arduino NG or Older, or something else with atmega8 in it @16MHz.
4. Please post pics of your setup if everything else fails.

This kind of error is pretty common (to me at least). I have always faced this, then also solved it either by correcting the circuit, or by making some changes in the boards.txt file.
Logged
 

Read
« Reply #36 on: May 19, 2016, 10:59:18 PM »
Dipanjan
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Dipanjan has no influence.
Offline Offline

City: Ichapur
State: West Bengal
RC Skills: Beginner
Posts: 326
Join Date: Aug, 2015



Try them with previous Versions of Arduino ide .
Do you have any other Arduino boards?
I did not have any success with usbasp and Arduino.
I recommend to have a Arduino board

Uspasp is pretty easy to use once you figure out the connections. I made a ISP header from female jumpers, it makes life a lot easier as you don't have to figure out the connections each and every time.

Oh,I forgot to mention, I use Windows 7 Operating system. In Linux ,there are some special commands to be executed(which I couldn't figure out) before usbasp gets access to the USB port of your computer. It wont work straight out of the box.
Logged
 

Read
« Reply #37 on: May 20, 2016, 12:52:56 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



The wiring is correct.
The circuit is correct.
The selected board is correct.
But i need help in what to do in boards.txt  ?
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #38 on: May 20, 2016, 12:55:58 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



Also have tried khazama to burn optiboot into atmega8l.
No success.

Would like to mention that there are 2 led on usbasp . One (red) always lit.
The other (orange) never lights up .
Why ?
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #39 on: May 20, 2016, 01:49:02 PM »
Balakrishna Reddy
Plane Lover
Forum Hero
*****

Reputation Power: 8 
Balakrishna Reddy has no influence.
Offline Offline

City: Hyderabad
State: Telangana
RC Skills: Intermediate
Posts: 698
Join Date: Feb, 2015



Red led indicates power supply to usbasp where as other led is connected to clock line.
So whenever usbasp is trying to communicate with slave MCU it has to light up or else there might be some problem. Once check for continuity b/w atmega8 pins in usbasp to the programming header and also the led. schematic is found on web which is open source.
Logged
 

Read
« Reply #40 on: May 20, 2016, 02:28:06 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



Already checked the wiring to mcu . I think the fuses are locked.
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #41 on: May 20, 2016, 03:55:21 PM »
Balakrishna Reddy
Plane Lover
Forum Hero
*****

Reputation Power: 8 
Balakrishna Reddy has no influence.
Offline Offline

City: Hyderabad
State: Telangana
RC Skills: Intermediate
Posts: 698
Join Date: Feb, 2015



Have you tried other softwares such as progisp. If still problem persist try with a new MCU. It would be more easy if you have serial port db9.
Logged
 

Read
« Reply #42 on: May 20, 2016, 03:57:56 PM »
Dipanjan
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Dipanjan has no influence.
Offline Offline

City: Ichapur
State: West Bengal
RC Skills: Beginner
Posts: 326
Join Date: Aug, 2015



The error says there is something error with Java in your PC. Have a look at that. Do you have some other PC? Try there.
Also I guess you have selected usbasp from the programmer menu in the Arduino IDE, right?
Logged
 

Read
« Reply #43 on: May 20, 2016, 04:06:43 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



Right
i also have installed the www.fischl.de driver for usbasp.
Prime time to give up and pick a arduino uno
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #44 on: May 20, 2016, 04:10:27 PM »
Dipanjan
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Dipanjan has no influence.
Offline Offline

City: Ichapur
State: West Bengal
RC Skills: Beginner
Posts: 326
Join Date: Aug, 2015



Right
i also have installed the www.fischl.de driver for usbasp.
Prime time to give up and pick a arduino uno
Best of luck buddy, keep us updated about your progress.
I am not getting much time to progress making the Tx. Will do soon.
« Last Edit: May 20, 2016, 04:21:37 PM by Dipanjan » Logged
 

Read
« Reply #45 on: May 20, 2016, 04:20:31 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



Well thanks all for helping me.
I think it would be convinient to use arduino boards and ide to work , as i dont have programming experience.
If i succeeded in making the tx , i would post in detail.
Thanks
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #46 on: May 20, 2016, 09:08:03 PM »
Balakrishna Reddy
Plane Lover
Forum Hero
*****

Reputation Power: 8 
Balakrishna Reddy has no influence.
Offline Offline

City: Hyderabad
State: Telangana
RC Skills: Intermediate
Posts: 698
Join Date: Feb, 2015



There is a software known as xloader using which you can compile your own program in atmel studio or any .hex file and flash them on to arduino boards without actually erasing bootloader on them. So you can use your arduino board with atmel studio and also with arduino ide. But before that make sure that you buy atmega328p in spare and burn arduino bootloader as safety.
And you can even burn bootloaders with ease using arduino board rather than usbasp.
Logged
 

Read
« Reply #47 on: May 20, 2016, 09:31:02 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



Okay thanks sir
currently i dont own any
but now i think i shall  buy some arduino boards
Logged

Born for FPV, Forced to LOS.
 

Pages: 1 [2]  All   Go Up
Jump to:  

Related Topics
Subject Started by Replies Views Last post
what r the most possible reasons of esc burning .....
Electric Power
saurab 6 4046 Last post December 21, 2011, 03:36:21 PM
by saurab
Regarding Receiver Burning.....
Radios and Receivers
aseem_mat 6 4300 Last post December 11, 2013, 02:07:33 PM
by buzz_rc
No Respons from the bootloader || SOLVED !!
Kites, Trains, Free Flight and All Others
MakerHand 0 1775 Last post November 29, 2017, 08:29:40 PM
by MakerHand
Turnigy 9XR Pro bootloader and shutting down issue
Radios and Receivers
gauravrockstar8 4 2704 Last post July 16, 2018, 05:00:33 PM
by gauravrockstar8
ESC's kept on burning
Electric Power
satvikbansal 9 2878 Last post April 02, 2019, 04:17:21 PM
by KALYANPRODHAN