I recompiled the Tiny source (Tiny_Avr-Pic_Bootloader+ (v0.8.2)) using VS 2012 and accepted all the changes the VS software wanted to make and the code compiled 100%.
I created a release build and ran it creating ...
IF I run the file called "Tiny_Avr-Pic_Bootloader+.application", I get the following error log file.
PLATFORMVERSIONINFOWindows:6.1.7601.65536(Win32NT)CommonLanguageRuntime:4.0.30319.18052System.Deployment.dll:4.0.30319.17929builtby:FX45RTMRELclr.dll:4.0.30319.18052builtby:FX45RTMGDRdfdll.dll:4.0.30319.17929builtby:FX45RTMRELdfshim.dll:4.0.41209.0(Main.041209-0000)SOURCESDeploymenturl:file:///W:/SpockPrimary/MPLAB%20Working%20Projects/Bootloading%20stuff/bootloader/bootloader-18f/Tiny%20%20PC%20boot%20installers/Tiny_Avr-Pic_Bootloader+.applicationApplicationurl:file:///W:/SpockPrimary/MPLAB%20Working%20Projects/Bootloading%20stuff/bootloader/bootloader-18f/Tiny%20%20PC%20boot%20installers/Tiny_Avr-Pic_Bootloader+.exe.manifestIDENTITIESDeploymentIdentity:Tiny_Avr-Pic_Bootloader+.application,Version=1.0.0.1,Culture=neutral,PublicKeyToken=0000000000000000,processorArchitecture=msilApplicationIdentity:Tiny_Avr-Pic_Bootloader+.exe,Version=1.0.0.1,Culture=neutral,PublicKeyToken=0000000000000000,processorArchitecture=msil,type=win32APPLICATIONSUMMARY*Installableapplication.ERRORSUMMARYBelowisasummaryoftheerrors,detailsoftheseerrorsarelistedlaterinthelog.*ActivationofW:\SpockPrimary\MPLABWorkingProjects\Bootloadingstuff\bootloader\bootloader-18f\TinyPCbootinstallers\Tiny_Avr-Pic_Bootloader+.applicationresultedinexception.Followingfailuremessagesweredetected:+Downloadingfile:///W:/SpockPrimary/MPLABWorkingProjects/Bootloadingstuff/bootloader/bootloader-18f/TinyPCbootinstallers/Tiny_Avr-Pic_Bootloader+.exe.deploydidnotsucceed.+Couldnotfindfile'W:\SpockPrimary\MPLAB Working Projects\Bootloading stuff\bootloader\bootloader-18f\Tiny PC boot installers\Tiny_Avr-Pic_Bootloader+.exe.deploy'.+Couldnotfindfile'W:\SpockPrimary\MPLAB Working Projects\Bootloading stuff\bootloader\bootloader-18f\Tiny PC boot installers\Tiny_Avr-Pic_Bootloader+.exe.deploy'.+Couldnotfindfile'W:\SpockPrimary\MPLAB Working Projects\Bootloading stuff\bootloader\bootloader-18f\Tiny PC boot installers\Tiny_Avr-Pic_Bootloader+.exe.deploy'.COMPONENTSTORETRANSACTIONFAILURESUMMARYNotransactionerrorwasdetected.WARNINGS*Themanifestforthisapplicationdoesnothaveasignature.Signaturevalidationwillbeignored.*Themanifestforthisapplicationdoesnothaveasignature.Signaturevalidationwillbeignored.OPERATIONPROGRESSSTATUS*[16/12/201311:48:52]:ActivationofW:\SpockPrimary\MPLABWorkingProjects\Bootloadingstuff\bootloader\bootloader-18f\TinyPCbootinstallers\Tiny_Avr-Pic_Bootloader+.applicationhasstarted.*[16/12/201311:48:58]:Processingofdeploymentmanifesthassuccessfullycompleted.*[16/12/201311:48:58]:Installationoftheapplicationhasstarted.*[16/12/201311:48:58]:Processingofapplicationmanifesthassuccessfullycompleted.*[16/12/201311:49:17]:Foundcompatibleruntimeversion4.0.30319.*[16/12/201311:49:17]:Requestoftrustanddetectionofplatformiscomplete.ERRORDETAILSFollowingerrorsweredetectedduringthisoperation.*[16/12/201311:49:18]System.Deployment.Application.DeploymentDownloadException(Unknownsubtype)-Downloadingfile:///W:/SpockPrimary/MPLABWorkingProjects/Bootloadingstuff/bootloader/bootloader-18f/TinyPCbootinstallers/Tiny_Avr-Pic_Bootloader+.exe.deploydidnotsucceed.-Source:System.Deployment-Stacktrace:atSystem.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItemnext)atSystem.Deployment.Application.SystemNetDownloader.DownloadAllFiles()atSystem.Deployment.Application.FileDownloader.Download(SubscriptionStatesubState)atSystem.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionStatesubState,AssemblyManifestdeployManifest,AssemblyManifestappManifest,UrisourceUriBase,StringtargetDirectory,Stringgroup,IDownloadNotificationnotification,DownloadOptionsoptions)atSystem.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionStatesubState,ActivationDescriptionactDesc,Int64transactionId,TempDirectory&downloadTemp)atSystem.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState&subState,ActivationDescriptionactDesc)atSystem.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(UriactivationUri,BooleanisShortcut,StringtextualSubId,StringdeploymentProviderUrlFromExtension,BrowserSettingsbrowserSettings,String&errorPageUrl)atSystem.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Objectstate)---InnerException---System.Net.WebException-Couldnotfindfile'W:\SpockPrimary\MPLAB Working Projects\Bootloading stuff\bootloader\bootloader-18f\Tiny PC boot installers\Tiny_Avr-Pic_Bootloader+.exe.deploy'.-Source:System-Stacktrace:atSystem.Net.FileWebRequest.EndGetResponse(IAsyncResultasyncResult)atSystem.Net.FileWebRequest.GetResponse()atSystem.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItemnext)---InnerException---System.Net.WebException-Couldnotfindfile'W:\SpockPrimary\MPLAB Working Projects\Bootloading stuff\bootloader\bootloader-18f\Tiny PC boot installers\Tiny_Avr-Pic_Bootloader+.exe.deploy'.-Source:System-Stacktrace:atSystem.Net.FileWebResponse..ctor(FileWebRequestrequest,Uriuri,FileAccessaccess,BooleanasyncHint)atSystem.Net.FileWebRequest.GetResponseCallback(Objectstate)---InnerException---System.IO.FileNotFoundException-Couldnotfindfile'W:\SpockPrimary\MPLAB Working Projects\Bootloading stuff\bootloader\bootloader-18f\Tiny PC boot installers\Tiny_Avr-Pic_Bootloader+.exe.deploy'.-Source:mscorlib-Stacktrace:atSystem.IO.__Error.WinIOError(Int32errorCode,StringmaybeFullPath)atSystem.IO.FileStream.Init(Stringpath,FileModemode,FileAccessaccess,Int32rights,BooleanuseRights,FileShareshare,Int32bufferSize,FileOptionsoptions,SECURITY_ATTRIBUTESsecAttrs,StringmsgPath,BooleanbFromProxy,BooleanuseLongPath,BooleancheckHost)atSystem.IO.FileStream..ctor(Stringpath,FileModemode,FileAccessaccess,FileShareshare,Int32bufferSize,FileOptionsoptions,StringmsgPath,BooleanbFromProxy)atSystem.IO.FileStream..ctor(Stringpath,FileModemode,FileAccessaccess,FileShareshare,Int32bufferSize,BooleanuseAsync)atSystem.Net.FileWebStream..ctor(FileWebRequestrequest,Stringpath,FileModemode,FileAccessaccess,FileSharesharing,Int32length,Booleanasync)atSystem.Net.FileWebResponse..ctor(FileWebRequestrequest,Uriuri,FileAccessaccess,BooleanasyncHint)COMPONENTSTORETRANSACTIONDETAILSNotransactioninformationisavailable.
IF I run the file "Tiny_Avr-Pic_Bootloader+.exe" I assume all the changes I accepted from VS2012 come home to roost.
I get ...
All I need is some PC code that will program my PIC, I am not yet experienced enough with C# to be debugging code I have no understanding of how it works.
I am reluctant to run (or execute) any more of the files as I do not want to hurt my main design machine.
My specifications, once I get anything working is ...
PIC18F4560 running with 3.579545 meg external Xtal and communication at 9600 baud.
I am SO out of my depth it is embarrassing.
Any thoughts to get at least the PC end working?
Having 'OK'd the PC error messages, I do get the main Tiny Window but, as you can appreciate, not much works.
Thanks in advance for what must be a simple answer for you but leaves me clueless..
I have been programming PICs in assembler for about 15 years and just past 60 years of age.
Old dogs and new tricks ?
Rick
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I recompiled the Tiny source (Tiny_Avr-Pic_Bootloader+ (v0.8.2)) using VS 2012 and accepted all the changes the VS software wanted to make and the code compiled 100%.
I created a release build and ran it creating ...
Tiny_Avr-Pic_Bootloader+.application
Tiny_Avr-Pic_Bootloader+.exe
Tiny_Avr-Pic_Bootloader+.exe.manifest
Tiny_Avr-Pic_Bootloader+.pdb
Tiny_Avr-Pic_Bootloader+.vshost.exe
IF I run the file called "Tiny_Avr-Pic_Bootloader+.application", I get the following error log file.
IF I run the file "Tiny_Avr-Pic_Bootloader+.exe" I assume all the changes I accepted from VS2012 come home to roost.
I get ...
All I need is some PC code that will program my PIC, I am not yet experienced enough with C# to be debugging code I have no understanding of how it works.
I am reluctant to run (or execute) any more of the files as I do not want to hurt my main design machine.
My specifications, once I get anything working is ...
PIC18F4560 running with 3.579545 meg external Xtal and communication at 9600 baud.
I am SO out of my depth it is embarrassing.
Any thoughts to get at least the PC end working?
Having 'OK'd the PC error messages, I do get the main Tiny Window but, as you can appreciate, not much works.
Thanks in advance for what must be a simple answer for you but leaves me clueless..
I have been programming PICs in assembler for about 15 years and just past 60 years of age.
Old dogs and new tricks ?
Rick
Hello Rick,
Did you mean 4550 and 4560?
PLL is enabled in the template of 4550 that comes with the bootloader.
I shows the firmware setting example in PIC18F4550.
I have shown in the ';;;' the changes from the original.
Best regards,
Dan
Last edit: Dan 2013-12-16
Hello Rick,
There is a compiled version of TinyBootloader+ in the archive. If you don't need to modify it, you don't have to bother with C# code.
Best regards,
Edorul