Someone on this list said he got BTstack working on that hardware. I've update the configuration to use the right UART/PINS/etc.. and gave it a quick spin. As far as I remember, the debug output was working fine, but I couldn't see my device in a device scan. Then some other task came along and I was already annoyed by the slowness of the spy-by-wire programming (using mspdebug->fet430-uif->battery holder->eZ430-RF2560 as I don't have much luck with the drivers for the TUSB3410 USB-2-UART chips).
Could you add a first printf("Started...\n") to see if the device is rebooting?
Could those guys getting BTstack to run on that device tell me what I've missed :) ?
Best
Matthias
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To post to this group, send email to btsta...@googlegroups.com.
> To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/btstack-dev?hl=en.
>
thanks for checking. Cool, you got farther then me with my code. :)
hal_uart_dma_init() is called during open() of src/hci_transport_h4_dma.c resp. src/hci_transport_h4_ehcill_dma.c
Has the debut output worked for you?
Best
Matthias
On Feb 23, 2012, at 2:01 AM, Risto Kivela wrote:
> Hi Matthias,
>
> I've had BTstack running on the eZ430 board for a while now. I took a quick peek at your new files in the eZ430-RF2560 directory and it seems that the main program files spp_counter.c and spp_flowcontrol.c are missing the hal_uart_dma_init(); call from the main function. Also I have not been able to get anything running with eCHILL on, so I've just commented that out in the main function. With these two changes I can pair with your new eZ430 examples with my Android phone.
>
> I haven't found the spywire programming that slow. I've been using the Windows FET-Pro430 Lite, which is free and supports eZ430 board. The blank checking needs to be turned off however. With that on it takes a while to program...
>
> Thanks,
>
> - Risto -
>
> > To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
> > For more options, visit this group at http://groups.google.com/group/btstack-dev?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To post to this group, send email to btsta...@googlegroups.com.
> To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/btstack-dev?hl=en.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To post to this group, send email to btsta...@googlegroups.com.
> To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
Aside from the FET430 UIF, I haven't been able to get any of the TI devices with the TUSB3410 USB-to-UART chip to work on Mac. I'll have to admit, I gave up pretty quickly. I'm now just soldering wires to the UART debug lines and use on of those FTDI USB-2-UART boards that are popular with Android devices to get me a debug output.
For the eZ430-RF2560, it's easy to plug the device into the battery holder and solder wires to through holes there.
Best
Matthias
k. Noted. When I'll play with the eZ430-RF2560 next time, I'll double check the eHCILL stuff = setup of CTS lines and IRQ.
Best
Matthias
On Feb 27, 2012, at 12:29 AM, Risto Kivela wrote:
> Hi Priyasheel,
>
> Sorry, I had a typo, I meant eHCILL. So what I commented out in main function was:
>
> // use eHCILL
> // bt_control_cc256x_enable_ehcill(1);
>
> Thanks,
>
> - Risto -
>
> > > To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
> > > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
> >
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To post to this group, send email to btsta...@googlegroups.com.
> To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/btstack-dev?hl=en.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To post to this group, send email to btsta...@googlegroups.com.
> To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
> > > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To post to this group, send email to btsta...@googlegroups.com.
> To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
> > > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To post to this group, send email to btsta...@googlegroups.com.
> To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
> > > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To post to this group, send email to btsta...@googlegroups.com.
> To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
> > > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To post to this group, send email to btsta...@googlegroups.com.
> To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
> > > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To post to this group, send email to btsta...@googlegroups.com.
> To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
After many experiments we discovered that this "garbling" is due to interference between the program accessing the serial port (such as screen, kermit, or minicom) and mspdebug, which is used to load programs. During the programming process of the msp430 we can see a warning message from mspdebug indicating:
"Warning: rf2500: warning: can't detach kernel driver: No data available"
After seeing this message, the output of the msp430 is garbled and subsequent programming will be corrupted until there is a reboot. Perhaps mspdebug should exit when it can't detach the kernel driver? In any case this is not a btstack issue.
-carson-
> > > > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > > > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > > To post to this group, send email to btsta...@googlegroups.com.
> > > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/btstack-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> > To post to this group, send email to btsta...@googlegroups.com.
> > To unsubscribe from this group, send email to btstack-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/btstack-dev/-/7t1ccHThN64J.
To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
<cc2567_init_script.c>