Hi Ytai,

          Actually I already flipped the USB cable. I put all my questions 
in detail as below.

1. On the Android library side, for the usb interface there are two mode 
being supported, ADB and Open accessory, right? 

For the ADB, android side works as USB device mode.
For Open accessory, android side works as USB device mode. (can it support 
host mode? according to the information from android developer website, it 
just can support device mode. But your latest release note says, "Support 
for Android working in host 
mode<https://github.com/ytai/ioio/wiki/IOIO-Over-OpenAccessory>, 
courtesy of Misha and Nadir (thanks!).". I am kind of confused)

 2. Since CDC mode is supported in the firmware, what is CDC mode is used 
for? As I understand, the android library you are supplying does not 
support cdc.

3. Is it a good idea to remove bootloader? With bootloader, I can not debug 
my firmware code. So I remove bootloader by modifying the related address 
of the firmware code. So when I flash the MCU, I just need to flash the 
firmware part. Before I have to combine the bootloader hex with the 
firmware hex, then flash it. Is it a good way to do it like this?
 
4. Any macro need defined while compiling the firmware to enable open 
accessory mode? Now my problem is that using your released hex file 
,  DevBoot-IOIO0401-App-IOIO0500 works. With myself compiling one, it is 
always recognized as CDC mode. Does it to do with I removing the booloader? 

Thanks and Regards,
Jim


On Monday, February 24, 2014 5:39:32 PM UTC+8, [email protected] wrote:
>
> Hi Ytai,
>
>            I am afraid I need your help. :)
>             
>            I compiled the firmware myself with the firmware source code. 
> (I modified the program start address to get away of bootloader part. 
> because in this way, I can debug step by step)
>            
>            When I connected the IOIO board running my firmware with my 
> samsung S3. It is recognized as CDC mode, not Openaccesory. (on S3, I 
> disabled the ADB) I am wondering how to make the USB interface recognized 
> as open accessory. I noticed some macro are related with USB mode. I am not 
> sure whether I should do some macro setting to make it work. On S3, I have 
> developed a test app to test with ioio board. It works fine with the hex 
> file of DevBoot-IOIO0401-App-IOIO0500. 
>  
>           Thanks.
> Regards,
> Jim
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to