arduino to flash

Talk about Arduino board, sheilds. Sharing Arduino projects, program, problems, solutions, suggestions..... many more, all are welcome.

Re: arduino to flash

Postby fitri » Tue Nov 29, 2011 8:21 pm

zhenning WROTE:
fitri WROTE:in 1st image, i add the directory. is what im doing correct?



Dont change the SDK path. Add it under source path =)



my mistake..but i dont know how to change the SDK path back to default. what is the default SDK path?
:cry:

another thing, how to run the program? is it:
command>>run command
or
control>>play (this one i not able to click)

attached image is pop up when i click run command
Attachments
run_command.jpg
fitri
Apprentice
 
Posts: 42
Joined: Mon May 02, 2011 8:20 pm

Re: arduino to flash

Postby zhenning » Tue Nov 29, 2011 9:16 pm

fitri WROTE:
zhenning WROTE:
fitri WROTE:in 1st image, i add the directory. is what im doing correct?



Dont change the SDK path. Add it under source path =)



my mistake..but i dont know how to change the SDK path back to default. what is the default SDK path?
:cry:

another thing, how to run the program? is it:
command>>run command
or
control>>play (this one i not able to click)

attached image is pop up when i click run command



To run: Ctrl and Enter

err.. reinstall it would solve your problem. I am currently with laptop without flash installed :)
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Re: arduino to flash

Postby zhenning » Tue Nov 29, 2011 9:17 pm

You are suppose to see some messages only whether the flash can connect to Serproxy or not. And another thing you need to run Serproxy.exe first before running the flash =)
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Re: arduino to flash

Postby fitri » Tue Nov 29, 2011 10:16 pm

zhenning WROTE:You are suppose to see some messages only whether the flash can connect to Serproxy or not. And another thing you need to run Serproxy.exe first before running the flash =)


thx :mrgreen:
i can run flash already..
but serproxy cannot open comm port. am i need to do some configuration 1st? :?:
Attachments
serporxy.jpg
fitri
Apprentice
 
Posts: 42
Joined: Mon May 02, 2011 8:20 pm

Re: arduino to flash

Postby zhenning » Tue Nov 29, 2011 11:58 pm

fitri WROTE:
zhenning WROTE:You are suppose to see some messages only whether the flash can connect to Serproxy or not. And another thing you need to run Serproxy.exe first before running the flash =)


thx :mrgreen:
i can run flash already..
but serproxy cannot open comm port. am i need to do some configuration 1st? :?:


You need to do some configuration. Make sure you have serial port or USB to serial. Then check the COM port no that connects to it. After that,

edit as3glue/applications/Serproxy-0.1.3-3/serproxy.cfg. using notepad++

PC: On my machine, Arduino uses COM3 - this is reflected in the line comm_ports=3 and < tt=""> below. If your board is on COM4, you'd have to change those lines to comm_ports=4 and net_port4=5331. Here is the complete config file:

# Config file for serproxy - PC Version

# Do not Transform newlines coming from the serial port into nils
newlines_to_nils=false

# Comm ports used
comm_ports=3

# Default settings
comm_baud=57600
comm_databits=8
comm_stopbits=1
comm_parity=none

# Idle time out in seconds
timeout=300

# Settings for COM3
net_port3=5331

Then only run Serproxy.exe again before running the .fla file.
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Re: arduino to flash

Postby zhenning » Tue Nov 29, 2011 11:59 pm

You should see something like this :

In Flash should display a message like this:

Socket connected!
Firmware version: 1
Port: 5331

The serproxy window should show something like this:

Server thread launched
server(4) - thread started
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Re: arduino to flash

Postby fitri » Wed Nov 30, 2011 9:44 pm

zhenning WROTE:You should see something like this :

In Flash should display a message like this:

Socket connected!
Firmware version: 1
Port: 5331

The serproxy window should show something like this:

Server thread launched
server(4) - thread started


thx for ur info,
i already do the serproxy configuration. im using com1. do i need to change comm_baud rate?
and do i also need to run arduino IDE?

attached is what i configure and the result i got..need ur guide on this, thx sir :oops:
Attachments
serproxy_config.jpg
serproxy_config
flash_run.jpg
result
fitri
Apprentice
 
Posts: 42
Joined: Mon May 02, 2011 8:20 pm

Re: arduino to flash

Postby zhenning » Thu Dec 01, 2011 12:04 am

fitri WROTE:
zhenning WROTE:You should see something like this :

In Flash should display a message like this:

Socket connected!
Firmware version: 1
Port: 5331

The serproxy window should show something like this:

Server thread launched
server(4) - thread started


thx for ur info,
i already do the serproxy configuration. im using com1. do i need to change comm_baud rate?
and do i also need to run arduino IDE?

attached is what i configure and the result i got..need ur guide on this, thx sir :oops:



Did you connect your board? If i am not mistaken, you have to connect it. Else it couldnt find the device.Please read the link you posted thoroughly.
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Re: arduino to flash

Postby fitri » Thu Dec 01, 2011 11:01 pm

thank you so much zhenning :D
i already can connect it.

1st i need to connect the board.
2nd configure the serproxy and run it
3rd run the fla. file


i got another question too.. i try to run other fla. file (eg:led_control_01.fla) how to test this?
hope anyone can help me on this :?
fitri
Apprentice
 
Posts: 42
Joined: Mon May 02, 2011 8:20 pm

Re: arduino to flash

Postby zhenning » Thu Dec 01, 2011 11:06 pm

fitri WROTE:thank you so much zhenning :D
i already can connect it.

1st i need to connect the board.
2nd configure the serproxy and run it
3rd run the fla. file


i got another question too.. i try to run other fla. file (eg:led_control_01.fla) how to test this?
hope anyone can help me on this :?



That might be a bit tricky. Check whether what port is it controlling. Then try click on the flash see whether it controls it or not
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

PreviousNext

Return to Arduino Based

Who is online

Users browsing this forum: No registered users and 17 guests