gillham / logic_analyzer

Implementation of a SUMP compatible logic analyzer for the Arduino
Other
463 stars 99 forks source link

Which sketch to load? What are the cfg files for? #37

Closed dylanbaxter closed 7 years ago

dylanbaxter commented 7 years ago

Howdy Andrew, First, THANK YOU for your hard work. No doubt this tool is indispensable for the low-budget Arduino tinkerer. I only wish I could get past square one and have a chance to use it (sound the dense user alarm)! The README you included has great information for seasoned or intuitive people, but for simpletons like me, well...I need more details (very dense).

The device I am programming for use is a Duemilanova (ATmega 328) and my IDE is PlatformIO, which may be confusing the matter? Any help you or a contributor might provide here will set my mind at ease and get my project back on track.

Thank you! -Dylan

dylanbaxter commented 7 years ago

Hello again, So after re-reading the README, all the way through this time I found insights in the older notes section. It looks like the included CFG files are device profiles that should be copied into the plugins directory where I installed OLS. So now I just need to understand the difference between mega and not mega. For now I'll assume I should use mega because my Duemilanove says ATmega328 on it. Can you tell I've not much experience with these? I think I now also understand that the three different INO files are in fact three different programs, for sampling at 1, 2 or 4MHz? The "CLI compiling" section in the README had me thinking that all three INO's were to be compiled and uploaded to the board and I cannot imagine why all three would be required for building with make or avrdude (which PlatformIO uses by default).

I guess I'll forge ahead with my assumptions for now and see where they lead me. Hopefully not a bricked dev board.

Thanks! -Dylan

dylanbaxter commented 7 years ago

Ooook, I was wrong again (and again and again, all day long). All three INO files must be included in the project in order to compile successfully. And since OLS contains those profiles now by default there was no reason for me to copy those around. Anyway, I've bothered you long enough Andrew. I'll go ask my stupid questions over on the OLS forum now..